[vbox-dev] [Patch] MiniToolBar background color

Antonio Augusto (Mancha) mkhaos7 at gmail.com
Wed Aug 12 18:03:43 PDT 2009


Hey guys, he is just an one liner to give the MiniToolBar some bgcolor
by default.
Mine was showing pitch black for some time, what was making it very
hard to see anything (Ubuntu 9.04 KDE4).
Please change the color to anything you feel comfortable with.
Just for the sake of it, I'm releasing it under the MIT license :)

Index: src/VBox/Frontends/VirtualBox/src/VBoxMiniToolBar.cpp
===================================================================
--- src/VBox/Frontends/VirtualBox/src/VBoxMiniToolBar.cpp       (revisão 22214)
+++ src/VBox/Frontends/VirtualBox/src/VBoxMiniToolBar.cpp       (cópia
de trabalho)
@@ -58,6 +58,7 @@
     setIconSize (QSize (16, 16));
     setMouseTracking (mAutoHide);
     setVisible (false);
+        setStyleSheet("VBoxMiniToolBar { background-color: blue; }");

     /* Left margin of tool-bar */
     mMargins << widgetForAction (addWidget (new QWidget (this)));




More information about the vbox-dev mailing list