1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

LibGUI: Make table view row height+padding font-size-relative

This makes tables look a lot nicer with different-sized fonts. :^)
This commit is contained in:
Andreas Kling 2020-10-24 16:17:26 +02:00
parent 8961148cdf
commit 688675e89b
5 changed files with 18 additions and 24 deletions

View file

@ -64,8 +64,6 @@ private:
virtual void context_menu_event(ContextMenuEvent&) override;
virtual void leave_event(Core::Event&) override;
int horizontal_padding() const { return 5; }
Gfx::IntRect section_resize_grabbable_rect(int) const;
void paint_horizontal(Painter&);