Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.cpp	(revision 76982)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.cpp	(revision 76983)
@@ -32,4 +32,5 @@
     , m_icon(icon)
     , m_fParentSelected(false)
+    , m_dIconScaleIndex(0)
 {
     /* Refresh finally: */
@@ -45,4 +46,15 @@
 }
 
+void UIGraphicsButton::setIconScaleIndex(double dIndex)
+{
+    if (dIndex >= 0)
+        m_dIconScaleIndex = dIndex;
+}
+
+double UIGraphicsButton::iconScaleIndex() const
+{
+    return m_dIconScaleIndex;
+}
+
 QVariant UIGraphicsButton::data(int iKey) const
 {
@@ -53,5 +65,7 @@
         case GraphicsButton_IconSize:
         {
-            const int iMetric = QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize);
+            int iMetric = QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize);
+            if (m_dIconScaleIndex > 0)
+                iMetric *= m_dIconScaleIndex;
             return QSize(iMetric, iMetric);
         }
Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.h	(revision 76982)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsButton.h	(revision 76983)
@@ -51,4 +51,9 @@
     void setParentSelected(bool fParentSelected);
 
+    /** Defines icon scale @a dIndex. */
+    void setIconScaleIndex(double dIndex);
+    /** Returns icon scale index. */
+    double iconScaleIndex() const;
+
 protected:
 
@@ -82,4 +87,7 @@
     QIcon m_icon;
     bool m_fParentSelected;
+
+    /** Holds the icon scale index. */
+    double  m_dIconScaleIndex;
 };
 
