LibGUI: Don't show last separator in column

This commit is contained in:
Karol Kosek 2022-12-28 01:57:42 +01:00 committed by Andreas Kling
parent 3b18858bb1
commit e40726cb34

View file

@ -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 });
}