summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/TabWidget.h
AgeCommit message (Collapse)Author
2020-04-30LibGUI: Cycle through TabWidget tabs with Ctrl+Tab / Ctrl+Shift+TabAndreas Kling
Fixes #2022.
2020-04-24LibGUI: Add "uniform tabs" mode to TabWidget (all tabs have same width)Andreas Kling
...and enable this in the main Browser UI. :^)
2020-04-24LibGUI: Allow TabWidget tabs to have icons and custom text alignmentAndreas Kling
2020-04-24LibGUI: Allow overriding the padding inside a TabWidgetAndreas Kling
2020-04-23LibGUI: Add TabWidget functions to activate next/previous tabAndreas Kling
2020-04-23LibGUI: Add TabWidget::set_tab_title(Widget&, StringView)Andreas Kling
This lets you change the title of a tab after creating it.
2020-04-06LibGUI: Add remove_tab and on_change to TabWidgetOriko
2020-04-04LibGUI: Make GUI::TabWidget::add_tab<T>() return a T&Andreas Kling
Since the newly constructed sub-widget is owned by the TabWidget, we can simply return a T& here. :^)
2020-02-23LibGUI: Add helper for constructing new TabWidget tabsAndreas Kling
This patch adds the following convenience helper: auto tab_widget = GUI::TabWidget::construct(); auto my_widget = tab_widget->add_tab<GUI::Widget>("My tab", ...); The above is equivalent to: auto tab_widget = GUI::TabWidget::construct(); auto my_widget = GUI::Widget::construct(...); tab_widget->add_widget("My tab", my_widget);
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-23LibGUI: Don't require passing a parent to widget constructorsAndreas Kling
This is a step towards using Core::Object::add<T> more, which takes care of parenting the newly created child automatically.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling