From 387084d8b3f1a9529a31be44e50e12c55f748fb5 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 4 Feb 2024 15:53:15 -0500 Subject: [PATCH] Fix default size of library tables dialog on hidpi --- common/dialogs/dialog_edit_library_tables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dialogs/dialog_edit_library_tables.cpp b/common/dialogs/dialog_edit_library_tables.cpp index 1190c826b3..712488efd4 100644 --- a/common/dialogs/dialog_edit_library_tables.cpp +++ b/common/dialogs/dialog_edit_library_tables.cpp @@ -44,7 +44,7 @@ void DIALOG_EDIT_LIBRARY_TABLES::InstallPanel( wxPanel* aPanel ) SetSizer( mainSizer ); mainSizer->Add( m_contentPanel, 1, wxEXPAND|wxLEFT|wxTOP|wxRIGHT, 5 ); - m_contentPanel->SetMinSize( wxSize( 1000, 600 ) ); + m_contentPanel->SetMinSize( FromDIP( wxSize( 1000, 600 ) ) ); auto sdbSizer = new wxStdDialogButtonSizer(); auto sdbSizerOK = new wxButton( this, wxID_OK );