summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptabscroll.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setuptabscroll.h')
-rw-r--r--src/gui/widgets/setuptabscroll.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/setuptabscroll.h b/src/gui/widgets/setuptabscroll.h
index d471ecfbc..e7151769e 100644
--- a/src/gui/widgets/setuptabscroll.h
+++ b/src/gui/widgets/setuptabscroll.h
@@ -55,11 +55,15 @@ class SetupTabScroll : public SetupTab
virtual void action(const gcn::ActionEvent &event A_UNUSED)
{ }
+ int getPreferredFirstItemSize()
+ { return mPreferredFirstItemSize; }
+
protected:
VertContainer *mContainer;
ScrollArea *mScroll;
std::map<std::string, SetupItem*> mItems;
std::set<SetupItem*> mAllItems;
+ int mPreferredFirstItemSize;
};
#endif