mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:54:58 +00:00
LibGUI: Don't hard-code TreeView row height
Instead of overriding AbstractTableView::row_height() and returning a hard-coded height for some reason, just remove the override. This makes tree view row heights honor the current font size.
This commit is contained in:
parent
bb4fda3b97
commit
ff0766056b
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@ protected:
|
|||
private:
|
||||
virtual ModelIndex index_at_event_position(Gfx::IntPoint, bool& is_toggle) const override;
|
||||
|
||||
int row_height() const { return 16; }
|
||||
int max_item_width() const { return frame_inner_rect().width(); }
|
||||
int indent_width_in_pixels() const { return 16; }
|
||||
int icon_size() const { return 16; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue