Index: /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp	(revision 73532)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp	(revision 73533)
@@ -1957,5 +1957,5 @@
 
         /* Create Machine tab-bar: */
-        m_pTabBarMachine = new UITabBar;
+        m_pTabBarMachine = new UITabBar(UITabBar::Align_Right);
         AssertPtrReturnVoid(m_pTabBarMachine);
         {
@@ -1970,5 +1970,5 @@
 
         /* Create Global tab-bar: */
-        m_pTabBarGlobal = new UITabBar;
+        m_pTabBarGlobal = new UITabBar(UITabBar::Align_Right);
         AssertPtrReturnVoid(m_pTabBarGlobal);
         {
Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp	(revision 73532)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp	(revision 73533)
@@ -720,6 +720,7 @@
 *********************************************************************************************************************************/
 
-UITabBar::UITabBar(QWidget *pParent /* = 0 */)
+UITabBar::UITabBar(Alignment enmAlignment, QWidget *pParent /* = 0 */)
     : QWidget(pParent)
+    , m_enmAlignment(enmAlignment)
     , m_pLayoutMain(0)
     , m_pLayoutTab(0)
@@ -745,6 +746,15 @@
         connect(pItem, &UITabBarItem::sigDragObjectDestroy, this, &UITabBar::sltHandleDragObjectDestroy);
         /* Add item into layout and list: */
-        m_pLayoutTab->insertWidget(0, pItem);
-        m_aItems.prepend(pItem);
+        switch (m_enmAlignment)
+        {
+            case Align_Left:
+                m_pLayoutTab->addWidget(pItem);
+                m_aItems.append(pItem);
+                break;
+            case Align_Right:
+                m_pLayoutTab->insertWidget(0, pItem);
+                m_aItems.prepend(pItem);
+                break;
+        }
         /* Update children styles: */
         updateChildrenStyles();
@@ -1021,8 +1031,7 @@
         m_pLayoutMain->setContentsMargins(0, 0, 0, 0);
 
-        /// @todo Workout stretch at the and as well,
-        //       depending on which alignment is set.
-        /* Add strech into beginning: */
-        m_pLayoutMain->addStretch();
+        /* Add strech to beginning: */
+        if (m_enmAlignment == Align_Right)
+            m_pLayoutMain->addStretch();
 
         /* Create tab layout: */
@@ -1033,4 +1042,8 @@
             m_pLayoutMain->addLayout(m_pLayoutTab);
         }
+
+        /* Add strech to end: */
+        if (m_enmAlignment == Align_Left)
+            m_pLayoutMain->addStretch();
     }
 }
Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.h	(revision 73532)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.h	(revision 73533)
@@ -56,6 +56,9 @@
 public:
 
+    /** Alignment types. */
+    enum Alignment { Align_Left, Align_Right };
+
     /** Constructs tab-bar passing @a pParent to the base-class. */
-    UITabBar(QWidget *pParent = 0);
+    UITabBar(Alignment enmAlignment, QWidget *pParent = 0);
 
     /** Adds new tab for passed @a pAction. @returns unique tab ID. */
@@ -104,4 +107,10 @@
     void updateChildrenStyles();
 
+    /** @name Contents: Common
+      * @{ */
+        /** Holds the alignment. */
+        Alignment m_enmAlignment;
+    /** @} */
+
     /** @name Contents: Widgets
       * @{ */
