mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Always align mapping layers buttons on the right side
This commit is contained in:
@@ -46,9 +46,11 @@ QVariant MappingListModel::data(const QModelIndex &index, int role) const
|
||||
break;
|
||||
case Qt::SizeHintRole:
|
||||
if (index.column() == MM::HideColumn)
|
||||
return QSize(20, 40);
|
||||
return QSize(24, 40);
|
||||
if (index.column() == MM::IconAndNameColum)
|
||||
return QSize(140, 40);
|
||||
return QSize(135, 40);
|
||||
if (index.column() == MM::GroupButtonColum)
|
||||
return QSize(128, 40);
|
||||
break;
|
||||
case Qt::CheckStateRole + 1:
|
||||
return mappingList.at(index.row()).isSolo ? Qt::Checked : Qt::Unchecked;
|
||||
|
||||
Reference in New Issue
Block a user