forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user