mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
This commit is contained in:
@@ -57,14 +57,6 @@ String VBWidgetPropertyModel::column_name(int column) const
|
||||
}
|
||||
}
|
||||
|
||||
GUI::Model::ColumnMetadata VBWidgetPropertyModel::column_metadata(int column) const
|
||||
{
|
||||
UNUSED_PARAM(column);
|
||||
if (column == Column::Name)
|
||||
return { 110 };
|
||||
return { 90 };
|
||||
}
|
||||
|
||||
GUI::Variant VBWidgetPropertyModel::data(const GUI::ModelIndex& index, Role role) const
|
||||
{
|
||||
if (role == Role::TextAlignment) {
|
||||
|
||||
Reference in New Issue
Block a user