mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibGUI: Force re-layout on Frame thickness changes
This commit is contained in:
parent
cb872f5c9a
commit
30309bac1b
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/frhun
Commit: 30309bac1b
Pull-request: https://github.com/SerenityOS/serenity/pull/17407
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ void Frame::set_frame_thickness(int thickness)
|
|||
return;
|
||||
m_thickness = thickness;
|
||||
set_grabbable_margins(thickness);
|
||||
layout_relevant_change_occurred();
|
||||
}
|
||||
|
||||
void Frame::paint_event(PaintEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue