diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-07 14:33:11 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-07 14:33:11 -0500 |
commit | ba59d40760e2a5a11bfbe2f7cf6b0e2a71b590d7 (patch) | |
tree | b261336945f9f9a5c5c33d5160a039445ba297ea /src/connection_dialog.cpp | |
parent | c3849f011be0ecfbf359a163e5e2423272c0c3d0 (diff) | |
download | lingo-ap-tracker-ba59d40760e2a5a11bfbe2f7cf6b0e2a71b590d7.tar.gz lingo-ap-tracker-ba59d40760e2a5a11bfbe2f7cf6b0e2a71b590d7.tar.bz2 lingo-ap-tracker-ba59d40760e2a5a11bfbe2f7cf6b0e2a71b590d7.zip |
Better high-DPI handling for rest of app
Diffstat (limited to 'src/connection_dialog.cpp')
-rw-r--r-- | src/connection_dialog.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/connection_dialog.cpp b/src/connection_dialog.cpp index 45a5b53..b55a138 100644 --- a/src/connection_dialog.cpp +++ b/src/connection_dialog.cpp | |||
@@ -7,17 +7,18 @@ ConnectionDialog::ConnectionDialog() | |||
7 | server_box_ = new wxTextCtrl( | 7 | server_box_ = new wxTextCtrl( |
8 | this, -1, | 8 | this, -1, |
9 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_server), | 9 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_server), |
10 | wxDefaultPosition, {300, -1}); | 10 | wxDefaultPosition, FromDIP(wxSize{300, -1})); |
11 | player_box_ = new wxTextCtrl( | 11 | player_box_ = new wxTextCtrl( |
12 | this, -1, | 12 | this, -1, |
13 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_player), | 13 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_player), |
14 | wxDefaultPosition, {300, -1}); | 14 | wxDefaultPosition, FromDIP(wxSize{300, -1})); |
15 | password_box_ = new wxTextCtrl( | 15 | password_box_ = new wxTextCtrl( |
16 | this, -1, | 16 | this, -1, |
17 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_password), | 17 | wxString::FromUTF8(GetTrackerConfig().connection_details.ap_password), |
18 | wxDefaultPosition, {300, -1}); | 18 | wxDefaultPosition, FromDIP(wxSize{300, -1})); |
19 | 19 | ||
20 | wxFlexGridSizer* form_sizer = new wxFlexGridSizer(2, 10, 10); | 20 | wxFlexGridSizer* form_sizer = |
21 | new wxFlexGridSizer(2, FromDIP(10), FromDIP(10)); | ||
21 | 22 | ||
22 | form_sizer->Add( | 23 | form_sizer->Add( |
23 | new wxStaticText(this, -1, "Server:"), | 24 | new wxStaticText(this, -1, "Server:"), |