VirtualBox

Changeset 69676 in vbox for trunk


Ignore:
Timestamp:
Nov 13, 2017 3:38:31 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8694: HiDPI support for port forwarding table geometry, get at least 1/9, e.g. 33% of width and height of the host-screen geometry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPortForwardingTable.cpp

    r69500 r69676  
    3232
    3333/* GUI includes: */
     34# include "UIDesktopWidgetWatchdog.h"
    3435# include "UIPortForwardingTable.h"
    3536# include "UIMessageCenter.h"
     
    938939    retranslateUi();
    939940
    940     /* Minimum Size: */
    941     setMinimumSize(600, 250);
     941    /* Limit the minimum size to 33% of screen size: */
     942    setMinimumSize(gpDesktop->screenGeometry(this).size() / 3);
    942943}
    943944
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