mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
LibGUI: Register more GML properties and widgets
Register "placeholder" for TextEditor and ComboBox; "models_only" for ComboBox; Vertical/HorizontalSeparator for SeparatorWidget
This commit is contained in:
committed by
Andreas Kling
parent
5806630cf4
commit
cf866cc75a
@@ -59,6 +59,7 @@ TextEditor::TextEditor(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_STRING_PROPERTY("placeholder", placeholder, set_placeholder);
|
||||
REGISTER_ENUM_PROPERTY("mode", mode, set_mode, Mode,
|
||||
{ Editable, "Editable" },
|
||||
{ ReadOnly, "ReadOnly" },
|
||||
|
||||
Reference in New Issue
Block a user