diff --git a/Userland/Applications/Spreadsheet/CellTypeDialog.cpp b/Userland/Applications/Spreadsheet/CellTypeDialog.cpp index 1d70e5eca4..c3d6a22779 100644 --- a/Userland/Applications/Spreadsheet/CellTypeDialog.cpp +++ b/Userland/Applications/Spreadsheet/CellTypeDialog.cpp @@ -427,7 +427,9 @@ ConditionView::~ConditionView() ConditionsView::ConditionsView() { - set_layout().set_spacing(2); + auto& layout = set_layout(); + layout.set_spacing(4); + layout.set_margins({ 6 }); } void ConditionsView::set_formats(Vector* formats) diff --git a/Userland/Applications/Spreadsheet/CondFormatting.gml b/Userland/Applications/Spreadsheet/CondFormatting.gml index 62c8a2e249..59ca4f004e 100644 --- a/Userland/Applications/Spreadsheet/CondFormatting.gml +++ b/Userland/Applications/Spreadsheet/CondFormatting.gml @@ -6,8 +6,11 @@ spacing: 4 } - @Spreadsheet::ConditionsView { - name: "conditions_view" + @GUI::ScrollableContainerWidget { + should_hide_unnecessary_scrollbars: true + content_widget: @Spreadsheet::ConditionsView { + name: "conditions_view" + } } @GUI::Widget {