1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 00:48:11 +00:00

LibGUI: Add horizontal scrollbar to GTableView.

Now we can scroll content in both directions if it won't fit in the view.
This commit is contained in:
Andreas Kling 2019-02-28 17:58:53 +01:00
parent 2f266ef649
commit 8eefdbdce8
3 changed files with 58 additions and 28 deletions

View file

@ -16,6 +16,7 @@ int main(int argc, char** argv)
GApplication app(argc, argv);
auto* widget = new GWidget;
widget->set_fill_with_background_color(false);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
auto* toolbar = new GToolBar(widget);