QmlDesigner: Unify "no match" text across content library tabs

Fixes: QDS-14997
Change-Id: I47a32cbaefd892937de090e66b3432471677a057
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2025-03-20 14:55:05 +02:00
parent f75666a7e3
commit a22aa8d14e
3 changed files with 6 additions and 5 deletions

View File

@@ -130,12 +130,11 @@ HelperWidgets.ScrollView {
}
textFormat: Text.RichText
color: StudioTheme.Values.themeTextColor
font.pixelSize: StudioTheme.Values.mediumFontSize
font.pixelSize: StudioTheme.Values.baseFontSize
topPadding: 10
leftPadding: 10
rightPadding: 10
visible: ContentLibraryBackend.effectsModel.isEmpty
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
width: root.width

View File

@@ -135,13 +135,12 @@ HelperWidgets.ScrollView {
}
textFormat: Text.RichText
color: StudioTheme.Values.themeTextColor
font.pixelSize: StudioTheme.Values.mediumFontSize
font.pixelSize: StudioTheme.Values.baseFontSize
topPadding: 10
leftPadding: 10
rightPadding: 10
wrapMode: Text.WordWrap
width: root.width - x
horizontalAlignment: Text.AlignHCenter
width: root.width
onLinkActivated: ContentLibraryBackend.rootView.addQtQuick3D()

View File

@@ -120,7 +120,10 @@ HelperWidgets.ScrollView {
font.pixelSize: StudioTheme.Values.baseFontSize
topPadding: 10
leftPadding: 10
rightPadding: 10
visible: root.model.isEmpty
wrapMode: Text.WordWrap
width: root.width
}
}
}