mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
VisualBuilder: Add a text box to the properties window.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GTableView.h>
|
||||
#include <LibGUI/GTextBox.h>
|
||||
|
||||
VBPropertiesWindow::VBPropertiesWindow()
|
||||
{
|
||||
@@ -13,6 +14,10 @@ VBPropertiesWindow::VBPropertiesWindow()
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
set_main_widget(widget);
|
||||
|
||||
m_text_box = new GTextBox(widget);
|
||||
m_text_box->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
m_text_box->set_preferred_size({ 0, 21 });
|
||||
|
||||
m_table_view = new GTableView(widget);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user