Browse Source

Fix correct background in Fl_Input_Choice

Work around a bug in Fl_Input_Choice where it forgets to set the proper
"input background" on some parts.
pull/1646/head
Pierre Ossman 9 months ago
parent
commit
8f461b2d89
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      vncviewer/ServerDialog.cxx

+ 2
- 0
vncviewer/ServerDialog.cxx View File

@@ -66,6 +66,8 @@ ServerDialog::ServerDialog()

serverName = new Fl_Input_Choice(LBLLEFT(x, y, w() - OUTER_MARGIN*2,
INPUT_HEIGHT, _("VNC server:")));
// Bug fix for wrong background
serverName->color(FL_BACKGROUND2_COLOR);
y += INPUT_HEIGHT + INNER_MARGIN;

x2 = x;

Loading…
Cancel
Save