summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2022-12-28 01:57:42 +0100
committerAndreas Kling <kling@serenityos.org>2022-12-30 17:16:29 +0100
commite40726cb348b6ffb77778a82d33827afb590e261 (patch)
tree238422db5abaa51d99bc56fb0c54c615a0c7b0f2 /Userland/Libraries/LibGUI
parent3b18858bb1b246d7865aee1bff8f92cada9d7aba (diff)
downloadserenity-e40726cb348b6ffb77778a82d33827afb590e261.zip
LibGUI: Don't show last separator in column
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/ColumnsView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/ColumnsView.cpp b/Userland/Libraries/LibGUI/ColumnsView.cpp
index 725cfb5d9f..53cf83f687 100644
--- a/Userland/Libraries/LibGUI/ColumnsView.cpp
+++ b/Userland/Libraries/LibGUI/ColumnsView.cpp
@@ -235,6 +235,9 @@ void ColumnsView::update_column_sizes()
total_width += column.width + column_separator_width();
}
+ // "Hide" last separator behind a window frame.
+ total_width -= column_separator_width();
+
set_content_size({ total_width, total_height });
}