1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-01 01:47:23 +03:00

stretch layouts editor contents to fit on startup

This commit is contained in:
Michail Vourlakos 2018-01-05 12:00:27 +02:00
parent ce5d6a6607
commit 18d78cfd37

View File

@ -590,6 +590,8 @@ void LayoutConfigDialog::loadLayouts()
//! this line should be commented for debugging layouts window functionality //! this line should be commented for debugging layouts window functionality
ui->layoutsView->setColumnHidden(IDCOLUMN, true); ui->layoutsView->setColumnHidden(IDCOLUMN, true);
ui->layoutsView->resizeColumnsToContents();
//! there are broken layouts and the user must be informed! //! there are broken layouts and the user must be informed!
if (brokenLayouts.count() > 0) { if (brokenLayouts.count() > 0) {
auto msg = new QMessageBox(this); auto msg = new QMessageBox(this);