mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
LibGUI: Implement content margins for Frame
This commit is contained in:
parent
54605794f9
commit
6964c2a2db
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ public:
|
||||||
int frame_thickness() const { return m_thickness; }
|
int frame_thickness() const { return m_thickness; }
|
||||||
void set_frame_thickness(int thickness);
|
void set_frame_thickness(int thickness);
|
||||||
|
|
||||||
|
virtual Margins content_margins() const override { return { frame_thickness() }; }
|
||||||
|
|
||||||
Gfx::FrameShadow frame_shadow() const { return m_shadow; }
|
Gfx::FrameShadow frame_shadow() const { return m_shadow; }
|
||||||
void set_frame_shadow(Gfx::FrameShadow shadow) { m_shadow = shadow; }
|
void set_frame_shadow(Gfx::FrameShadow shadow) { m_shadow = shadow; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue