Skip to content

Commit

Permalink
fixed: on macOS, preferences dialog initial size is way too small
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayala Ifrah authored and Ayala Ifrah committed Jan 31, 2021
1 parent b89a97b commit 2aacf40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions LiteEditor/options_dlg2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ PreferencesDialog::PreferencesDialog(wxWindow* parent)
Initialize();
SetName("PreferencesDialog");
WindowAttrManager::Load(this);
GetSizer()->Fit(this);
GetSizer()->Layout();
CenterOnParent();
//::clSetDialogBestSizeAndPosition(this);
::clSetDialogBestSizeAndPosition(this);
}

PreferencesDialog::~PreferencesDialog() {}
Expand Down

0 comments on commit 2aacf40

Please sign in to comment.