1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 00:55:08 +00:00
serenity/Applications/VisualBuilder/VBPropertiesWindow.cpp
Andreas Kling 62d347d12a VisualBuilder: Remove the separate property editor box in favor of inline.
Also make the property names show up in bold text. :^)
2019-04-19 01:16:57 +02:00

24 lines
612 B
C++

#include "VBPropertiesWindow.h"
#include <LibGUI/GWidget.h>
#include <LibGUI/GBoxLayout.h>
#include <LibGUI/GTableView.h>
#include <LibGUI/GTextBox.h>
VBPropertiesWindow::VBPropertiesWindow()
{
set_title("Properties");
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_table_view = new GTableView(widget);
m_table_view->set_headers_visible(false);
m_table_view->set_editable(true);
}
VBPropertiesWindow::~VBPropertiesWindow()
{
}