Skip to content

Commit

Permalink
Make status bar fields DPI aware (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiolo authored Jan 9, 2024
1 parent 337ac89 commit 241c61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/myframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ struct MyFrame : wxFrame {
wxStatusBar *sb = CreateStatusBar(4);
sb->SetOwnBackgroundColour(toolbgcol);
SetStatusBarPane(0);
int swidths[] = {-1, 200, 120, 100};
int swidths[] = {-1, FromDIP(200), FromDIP(120), FromDIP(100)};
SetStatusWidths(4, swidths);
}

Expand Down

0 comments on commit 241c61a

Please sign in to comment.