summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBPropertiesWindow.cpp
blob: 29733fb3a9350ebd442f411efab709758225d590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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));
    widget->layout()->set_margins({ 2, 2, 2, 2 });
    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()
{
}