forked from qt-creator/qt-creator
Android: Set more columns in AVD table to ResizeToContents
Give the columns with potentailly more content some space. Change-Id: I4c213f97df077801e3b11ef09519973a61c58c4f Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -423,7 +423,9 @@ AndroidSettingsWidget::AndroidSettingsWidget()
|
||||
m_ui.CreateKitCheckBox->setChecked(m_androidConfig.automaticKitCreation());
|
||||
m_ui.AVDTableView->setModel(&m_AVDModel);
|
||||
m_ui.AVDTableView->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
|
||||
m_ui.AVDTableView->horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents);
|
||||
for (int column : {1, 2, 5})
|
||||
m_ui.AVDTableView->horizontalHeader()->setSectionResizeMode(
|
||||
column, QHeaderView::ResizeToContents);
|
||||
|
||||
const QIcon downloadIcon = Icons::ONLINE.icon();
|
||||
m_ui.downloadSDKToolButton->setIcon(downloadIcon);
|
||||
|
||||
Reference in New Issue
Block a user