mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
LibGUI: Fix uniform TabWidget tabs bleeding outside the widget
The last uniform-sized tab button would bleed outside the tab bar area due to us not taking the bar margin into account.
This commit is contained in:
parent
1029069ad6
commit
bcd05e199b
2 changed files with 5 additions and 3 deletions
|
@ -108,6 +108,7 @@ private:
|
|||
Gfx::IntRect container_rect() const;
|
||||
void update_bar();
|
||||
void update_focus_policy();
|
||||
int bar_margin() const { return 2; }
|
||||
|
||||
RefPtr<Widget> m_active_widget;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue