mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 21:32:07 +00:00
LibGUI: Always set tree column content width to widest open node
Fixes hidable horizontal scrollbars remaining visible even after collapsing their responsible nodes. Tree column width defaults to column header width if wider than current content.
This commit is contained in:
parent
2df219d608
commit
ef61a963e9
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ void TreeView::update_column_sizes()
|
|||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
set_column_width(tree_column, max(this->column_width(tree_column), tree_column_width));
|
||||
set_column_width(tree_column, tree_column_width);
|
||||
}
|
||||
|
||||
int TreeView::tree_column_x_offset() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue