1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

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
parent 2871df6f0d
commit af581cbd91
4 changed files with 5 additions and 3 deletions

View file

@ -46,7 +46,7 @@ private:
void push_column(const ModelIndex& parent_index);
void update_column_sizes();
int item_height() const { return 16; }
int item_height() const { return 18; }
int icon_size() const { return 16; }
int icon_spacing() const { return 2; }
int text_padding() const { return 2; }