mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibGUI: Make AbstractTableView row height configurable
The row height is per-table, not per-row, but this is still nice.
This commit is contained in:
parent
d125c624c6
commit
c4347a16cf
5 changed files with 27 additions and 16 deletions
|
@ -58,7 +58,7 @@ protected:
|
|||
private:
|
||||
virtual ModelIndex index_at_event_position(const Gfx::IntPoint&, bool& is_toggle) const override;
|
||||
|
||||
int item_height() const { return 16; }
|
||||
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