diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-05 12:35:32 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-05 12:35:32 -0700 |
commit | a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e (patch) | |
tree | 2df260b7cf8beca686d8f3e6ad27fc5dba9351d1 /src/gui/setup_keyboard.cpp | |
parent | 9146b4bff88d2622907b7e9bba618ad9b12da7ce (diff) | |
download | mana-a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e.tar.gz mana-a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e.tar.bz2 mana-a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e.tar.xz mana-a05c3bbbae4fcb2fd353a9ba972e7caa7b8e566e.zip |
Fixed the keyboard dialog list selection from cutting off before the
scrollbar.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_keyboard.cpp')
-rw-r--r-- | src/gui/setup_keyboard.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |