mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
MainWindow: Automatically resize Schema column in DB Structure tab
Automatically resize the Schema column in the Database Structure tab of the main window to fit its contents. See issue #113.
This commit is contained in:
@@ -290,6 +290,9 @@ void MainWindow::populateStructure()
|
||||
sqlarea->getEditor()->setDefaultCompleterModel(&completerModelTables);
|
||||
sqlarea->getEditor()->insertFieldCompleterModels(completerModelsFields);
|
||||
}
|
||||
|
||||
// Resize SQL column to fit contents
|
||||
ui->dbTreeWidget->resizeColumnToContents(3);
|
||||
}
|
||||
|
||||
void MainWindow::populateTable(const QString & tablename, bool bKeepFilter)
|
||||
|
||||
Reference in New Issue
Block a user