Skip to content

Commit

Permalink
Make input field same exact height as button
Browse files Browse the repository at this point in the history
  • Loading branch information
aybe committed Jul 13, 2024
1 parent b6c7c88 commit c312608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/sdl_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ class PropertyEditor : public GUI::Window, public GUI::ActionEventSource_Callbac
? optionsPos - defaultSpacing - inputWidth
: windowWidth - RightMarginText - defaultSpacing - inputWidth;

input = new GUI::Input(this, inputPos, 0, inputWidth);
input = new GUI::Input(this, inputPos, 0, inputWidth, static_cast<int>(GUI::CurrentTheme.ButtonHeight));

if(opts)
{
Expand Down

0 comments on commit c312608

Please sign in to comment.