From a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 5 Feb 2009 12:35:32 -0700 Subject: Fixed the keyboard dialog list selection from cutting off before the scrollbar. Signed-off-by: Ira Rice --- src/gui/setup_keyboard.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/setup_keyboard.cpp') diff --git a/src/gui/setup_keyboard.cpp b/src/gui/setup_keyboard.cpp index 7ff2ea7f..6a4363fe 100644 --- a/src/gui/setup_keyboard.cpp +++ b/src/gui/setup_keyboard.cpp @@ -78,11 +78,10 @@ Setup_Keyboard::Setup_Keyboard(): refreshKeys(); - mKeyList->setDimension(gcn::Rectangle(0, 0, 185, 140)); mKeyList->addActionListener(this); - mKeyList->setSelected(-1); ScrollArea *scrollArea = new ScrollArea(mKeyList); + scrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mAssignKeyButton = new Button(_("Assign"), "assign", this); mAssignKeyButton->addActionListener(this); -- cgit v1.2.3-60-g2f50