Skip to content

Commit

Permalink
Increase size of Load Preset dialog in OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Dec 16, 2016
1 parent 82d34ab commit 0cecbd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions res/xrc/Slider.xrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="dlgChoosePreset">
<style>wxDEFAULT_DIALOG_STYLE</style>
<size>327,132</size>
<style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</style>
<size>325,175</size>
<title>Select a slider preset</title>
<centered>1</centered>
<object class="wxBoxSizer">
Expand All @@ -27,12 +27,12 @@
</object>
<object class="sizeritem">
<option>1</option>
<flag>wxEXPAND</flag>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>0</option>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
<object class="wxRadioButton" name="weightLo">
Expand All @@ -41,7 +41,7 @@
</object>
</object>
<object class="sizeritem">
<option>0</option>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
<object class="wxRadioButton" name="weightHi">
Expand All @@ -53,7 +53,7 @@
</object>
<object class="sizeritem">
<option>1</option>
<flag>wxEXPAND|wxALL</flag>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
Expand Down
4 changes: 4 additions & 0 deletions src/program/OutfitStudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3741,6 +3741,10 @@ void OutfitStudio::OnLoadPreset(wxCommandEvent& WXUNUSED(event)) {

presetChoice->SetSelection(0);

dlg.SetSize(wxSize(325, 175));
dlg.SetSizeHints(wxSize(325, 175), wxSize(-1, 175));
dlg.CenterOnParent();

if (dlg.ShowModal() != wxID_OK)
return;

Expand Down

0 comments on commit 0cecbd1

Please sign in to comment.