LibGUI: Increase row height in Table/ColumnViews and center icons

16x16 icons are now guaranteed at least 1px margins between rows
This commit is contained in:
thankyouverycool 2021-03-03 23:39:56 -05:00 committed by Andreas Kling
commit af581cbd91
Notes: sideshowbarker 2024-07-18 21:43:01 +09:00
4 changed files with 5 additions and 3 deletions

View file

@ -60,6 +60,7 @@ public:
void set_column_painting_delegate(int column, OwnPtr<TableCellPaintingDelegate>);
int horizontal_padding() const;
int icon_padding() const { return 8; }
Gfx::IntPoint adjusted_position(const Gfx::IntPoint&) const;