浏览代码

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 10 个月前
父节点
当前提交
8f461b2d89
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      vncviewer/ServerDialog.cxx

+ 2
- 0
vncviewer/ServerDialog.cxx 查看文件

@@ -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;

正在加载...
取消
保存