Skip to content

Commit

Permalink
bugfix: Some Textboxes should not have a frame drawn
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 5, 2024
1 parent 13d4e6b commit 012ffda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/osdep/gui/ControllerMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ static void InitControllerMap()
txtInformation->setBackgroundColor(gui_base_color);
txtInformation->setForegroundColor(gui_foreground_color);
txtInformation->setEditable(false);
txtInformation->setFrameSize(0);

lblMessage = new gcn::Label("Press: ");
lblPressButtonAxis = new gcn::Label("");
Expand Down
1 change: 1 addition & 0 deletions src/osdep/gui/ShowMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ static void InitShowMessage(const std::string& message)
txtMessageText->setBackgroundColor(gui_base_color);
txtMessageText->setForegroundColor(gui_foreground_color);
txtMessageText->setEditable(false);
txtMessageText->setFrameSize(0);
lblText1 = new gcn::Label("");
lblText1->setSize(DIALOG_WIDTH - 2 * DISTANCE_BORDER, LABEL_HEIGHT);
lblText2 = new gcn::Label("");
Expand Down

0 comments on commit 012ffda

Please sign in to comment.