VirtualBox

Changeset 74799 in vbox


Ignore:
Timestamp:
Oct 12, 2018 12:42:17 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: VirtualBox Manager: Chooser pane: Flat button frame fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp

    r74482 r74799  
    654654    grad.setColorAt(0, color.lighter(150));
    655655    grad.setColorAt(1, color.lighter(110));
    656     pPainter->fillRect(rectangle, grad);
     656    pPainter->fillRect(rectangle.adjusted(0, 0, -1, -1), grad);
    657657
    658658    /* Paint frame: */
    659     const QRect frameRectangle = rectangle.adjusted(0, 0, -1, -1);
    660     pPainter->drawRect(frameRectangle);
     659    pPainter->drawRect(rectangle.adjusted(0, 0, -1, -1));
    661660
    662661    /* Restore painter: */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette