summaryrefslogtreecommitdiff
path: root/plugingui/tabwidget.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-02-03 19:24:47 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-02-03 19:24:47 +0100
commit152423c0274887415b50c0d31828036a8fe54708 (patch)
treebe221e80c5aa9cd554fbe01553fe3898a952467a /plugingui/tabwidget.h
parent73bfd66285f1697abd3cffce4b12e09df814ecce (diff)
Increase tab-button width.
Diffstat (limited to 'plugingui/tabwidget.h')
-rw-r--r--plugingui/tabwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/tabwidget.h b/plugingui/tabwidget.h
index 3f0e041..ff239a8 100644
--- a/plugingui/tabwidget.h
+++ b/plugingui/tabwidget.h
@@ -47,6 +47,9 @@ public:
std::size_t getBarHeight() const;
+ void setTabWidth(std::size_t width);
+ std::size_t getTabWidth() const;
+
private:
//! Callback for Widget::sizeChangeNotifier
void sizeChanged(int width, int height);
@@ -68,6 +71,8 @@ private:
Texture toplogo{getImageCache(), ":resources/toplogo.png",
0, 0, // atlas offset (x, y)
95, 17}; // width, height
+
+ std::size_t tab_width{64};
};
} // GUI::