mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
LibGUI: Move frame painting from GFrame to StylePainter.
This way it can be used by others who might not have a GFrame object.
This commit is contained in:
parent
e61dd994df
commit
4ab0cd5d4c
Notes:
sideshowbarker
2024-07-19 14:46:47 +09:00
Author: https://github.com/awesomekling
Commit: 4ab0cd5d4c
16 changed files with 93 additions and 88 deletions
|
@ -6,8 +6,8 @@ GlyphEditorWidget::GlyphEditorWidget(Font& mutable_font, GWidget* parent)
|
|||
, m_font(mutable_font)
|
||||
{
|
||||
set_frame_thickness(2);
|
||||
set_frame_shadow(GFrame::Shadow::Sunken);
|
||||
set_frame_shape(GFrame::Shape::Container);
|
||||
set_frame_shadow(FrameShadow::Sunken);
|
||||
set_frame_shape(FrameShape::Container);
|
||||
set_relative_rect({ 0, 0, preferred_width(), preferred_height() });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue