mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 02:35:06 +00:00
LibDraw: Add ColorRole::BaseText (to be painted on ColorRole::Base)
This commit is contained in:
parent
a79bac428b
commit
aae54bdbde
11 changed files with 13 additions and 0 deletions
|
@ -26,6 +26,8 @@ GTextEditor::GTextEditor(Type type, GWidget* parent)
|
|||
: GScrollableWidget(parent)
|
||||
, m_type(type)
|
||||
{
|
||||
set_background_role(ColorRole::Base);
|
||||
set_foreground_role(ColorRole::BaseText);
|
||||
set_document(GTextDocument::create());
|
||||
set_frame_shape(FrameShape::Container);
|
||||
set_frame_shadow(FrameShadow::Sunken);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue