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:
Miikka Heikkinen
2024-06-18 11:12:45 +03:00
parent f92ea99107
commit 87bae7f0a4
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
} }

View File

@@ -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>