mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
VisualBuilder: Remove the separate property editor box in favor of inline.
Also make the property names show up in bold text. :^)
This commit is contained in:
parent
3a33b8ea08
commit
62d347d12a
3 changed files with 5 additions and 6 deletions
|
@ -7,18 +7,15 @@
|
|||
VBPropertiesWindow::VBPropertiesWindow()
|
||||
{
|
||||
set_title("Properties");
|
||||
set_rect(780, 200, 220, 280);
|
||||
set_rect(780, 200, 240, 280);
|
||||
|
||||
auto* widget = new GWidget;
|
||||
widget->set_fill_with_background_color(true);
|
||||
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);
|
||||
m_table_view->set_headers_visible(false);
|
||||
m_table_view->set_editable(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue