mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 00:15:08 +00:00
VisualBuilder: Add a text box to the properties window.
This commit is contained in:
parent
3cddc3484e
commit
c736dbdf10
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue