mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 03:45:06 +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
|
@ -1,6 +1,7 @@
|
|||
#include "VBWidgetPropertyModel.h"
|
||||
#include "VBWidget.h"
|
||||
#include "VBProperty.h"
|
||||
#include <SharedGraphics/Font.h>
|
||||
|
||||
VBWidgetPropertyModel::VBWidgetPropertyModel(VBWidget& widget)
|
||||
: m_widget(widget)
|
||||
|
@ -29,6 +30,8 @@ String VBWidgetPropertyModel::column_name(int column) const
|
|||
GModel::ColumnMetadata VBWidgetPropertyModel::column_metadata(int column) const
|
||||
{
|
||||
UNUSED_PARAM(column);
|
||||
if (column == Column::Name)
|
||||
return { 110, TextAlignment::CenterLeft, &Font::default_bold_font() };
|
||||
return { 90, TextAlignment::CenterLeft };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue