summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-24 12:53:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-24 12:53:50 +0300
commite04c285de305cc1da568cde431d31dc56009526c (patch)
tree1875c26d5951548f5c164be95e9d4b56408b53b8 /src/gui/widgets/setupitem.h
parent22eeb047442eecc9a41a12ef4e278616083e03df (diff)
downloadmv-e04c285de305cc1da568cde431d31dc56009526c.tar.gz
mv-e04c285de305cc1da568cde431d31dc56009526c.tar.bz2
mv-e04c285de305cc1da568cde431d31dc56009526c.tar.xz
mv-e04c285de305cc1da568cde431d31dc56009526c.zip
Fix dropdown setupitem.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index ec1a1de0b..34879c23c 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -267,12 +267,13 @@ class SetupItemDropDown final : public SetupItem
SetupItemDropDown(std::string text, std::string description,
std::string keyName, SetupTabScroll *const parent,
std::string eventName, gcn::ListModel *const model,
- const bool mainConfig = true);
+ int width, const bool mainConfig = true);
SetupItemDropDown(std::string text, std::string description,
std::string keyName, SetupTabScroll *const parent,
std::string eventName, gcn::ListModel *const model,
- std::string def, const bool mainConfig = true);
+ int width, std::string def,
+ const bool mainConfig = true);
A_DELETE_COPY(SetupItemDropDown)
@@ -289,6 +290,7 @@ class SetupItemDropDown final : public SetupItem
Label *mLabel;
gcn::ListModel *mModel;
DropDown *mDropDown;
+ int mWidth;
};
class SetupItemSlider final : public SetupItem