Welcome: Remove the default GUI::Frame look from TextWidget

This commit is contained in:
Andreas Kling 2020-02-29 17:04:46 +01:00
commit 9cf92831e3
Notes: sideshowbarker 2024-07-19 08:58:08 +09:00

View file

@ -36,6 +36,9 @@
TextWidget::TextWidget(const StringView& text)
: m_text(text)
{
set_frame_thickness(0);
set_frame_shadow(Gfx::FrameShadow::Plain);
set_frame_shape(Gfx::FrameShape::NoFrame);
}
TextWidget::~TextWidget()