UINode::isScrollable is now virtual. Minor improvements in scrollable widgets and tables columns.

This commit is contained in:
Martín Lucas Golini
2023-06-07 02:16:55 -03:00
parent b1296048a8
commit 3759b1cfd6
6 changed files with 15 additions and 5 deletions

View File

@@ -579,6 +579,7 @@ UIBuildSettings::UIBuildSettings( ProjectBuild& build, ProjectBuildConfiguration
} );
UITableView* tableOP = find<UITableView>( "table_output_parsers" );
tableOP->setMainColumn( 1 );
tableOP->setAutoColumnsWidth( true );
tableOP->setFitAllColumnsToWidget( true );
auto modelOP = OutputParserModel::create( mBuild.mOutputParser.mConfig,
@@ -661,6 +662,7 @@ void UIBuildSettings::bindTable( const std::string& name, const std::string& key
model->setColumnName( 0, getTranslatorString( key + "_name", "Name" ) );
model->setColumnName( 1, getTranslatorString( key + "_value", "Value" ) );
model->setIsEditable( true );
table->setMainColumn( 1 );
table->setAutoColumnsWidth( true );
table->setFitAllColumnsToWidget( true );
table->setModel( model );