VirtualBox

Changeset 68325 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 7, 2017 6:01:43 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8400: Medium details widget: macOS layout fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDetailsWidget.cpp

    r68006 r68325  
    410410                /* Configure layout: */
    411411                pLayoutSize->setContentsMargins(0, 0, 0, 0);
     412#ifdef VBOX_WS_MAC
     413                // WORKAROUND:
     414                // Using adjusted vertical stretch because there is special widget
     415                // which requires more care and attention, UIMediumSizeEditor.
     416                pLayoutSize->setRowStretch(0, 3);
     417                pLayoutSize->setRowStretch(1, 2);
     418#endif
    412419
    413420                /* Create size editor: */
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