LibGUI: Implement content margins for Frame

This commit is contained in:
FrHun 2021-09-15 23:12:28 +02:00 committed by Andreas Kling
parent 54605794f9
commit 6964c2a2db
Notes: sideshowbarker 2024-07-18 01:31:25 +09:00

View File

@ -19,6 +19,8 @@ public:
int frame_thickness() const { return m_thickness; }
void set_frame_thickness(int thickness);
virtual Margins content_margins() const override { return { frame_thickness() }; }
Gfx::FrameShadow frame_shadow() const { return m_shadow; }
void set_frame_shadow(Gfx::FrameShadow shadow) { m_shadow = shadow; }