mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
LibGUI: Do not allow tree column to shrink beyond indent and icon
We always display the tree indent and the icon, so we shouldn't allow the tree column to shrink beyond that size.
This commit is contained in:
parent
ab2719fd53
commit
1408aa1295
2 changed files with 18 additions and 0 deletions
|
@ -36,6 +36,8 @@ public:
|
|||
virtual Gfx::IntRect content_rect(ModelIndex const&) const override;
|
||||
virtual Gfx::IntRect paint_invalidation_rect(ModelIndex const& index) const override { return content_rect(index); }
|
||||
|
||||
virtual int minimum_column_width(int column) override;
|
||||
|
||||
protected:
|
||||
TreeView();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue