Improve high DPI support in wxAui
Window initial/minimum/maximum sizes are now treated as logical pixels. Furthermore, many margins and paddings are now converted using wxWindow::FromDIP() to allow their growth in accord with screen DPI. This places buttons on toolbars more apart on high DPI screens providing space for easier touch operations. Closes https://github.com/wxWidgets/wxWidgets/pull/933
This commit is contained in:
parent
2af7e38153
commit
770e0bcd16
14 changed files with 294 additions and 268 deletions
|
|
@ -338,6 +338,7 @@ public:
|
|||
wxAuiPaneInfo& pane);
|
||||
|
||||
void DrawIcon(wxDC& dc,
|
||||
wxWindow *window,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue