forked from qt-creator/qt-creator
QmlDesigner: Fix layout of 3D import list
Made list a bit wider so that there will be no horizontal scroll on the list. Also shortened the size info label text a bit so it won't cut off as easily on systems with larger default font. Fixes: QDS-13015 Change-Id: I39c175be42e743b0700079ddd5543a9c54bb975b Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1262,7 +1262,7 @@ void ItemLibraryAssetImportDialog::onImportReadyForPreview(
|
|||||||
QString s;
|
QString s;
|
||||||
s += truncName + '\n';
|
s += truncName + '\n';
|
||||||
s += tr("Object Type: %1\n").arg(data.type);
|
s += tr("Object Type: %1\n").arg(data.type);
|
||||||
s += tr("Imported Size: %1").arg(QLocale::system().formattedDataSize(
|
s += tr("Import Size: %1").arg(QLocale::system().formattedDataSize(
|
||||||
data.size, 2, QLocale::DataSizeTraditionalFormat));
|
data.size, 2, QLocale::DataSizeTraditionalFormat));
|
||||||
l->setText(s);
|
l->setText(s);
|
||||||
}
|
}
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>250</width>
|
<width>260</width>
|
||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
Reference in New Issue
Block a user