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
|
textFormat: Text.RichText
|
||||||
color: StudioTheme.Values.themeTextColor
|
color: StudioTheme.Values.themeTextColor
|
||||||
font.pixelSize: StudioTheme.Values.mediumFontSize
|
font.pixelSize: StudioTheme.Values.baseFontSize
|
||||||
topPadding: 10
|
topPadding: 10
|
||||||
leftPadding: 10
|
leftPadding: 10
|
||||||
rightPadding: 10
|
rightPadding: 10
|
||||||
visible: ContentLibraryBackend.effectsModel.isEmpty
|
visible: ContentLibraryBackend.effectsModel.isEmpty
|
||||||
horizontalAlignment: Text.AlignHCenter
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
width: root.width
|
width: root.width
|
||||||
|
|
||||||
|
@@ -135,13 +135,12 @@ HelperWidgets.ScrollView {
|
|||||||
}
|
}
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
color: StudioTheme.Values.themeTextColor
|
color: StudioTheme.Values.themeTextColor
|
||||||
font.pixelSize: StudioTheme.Values.mediumFontSize
|
font.pixelSize: StudioTheme.Values.baseFontSize
|
||||||
topPadding: 10
|
topPadding: 10
|
||||||
leftPadding: 10
|
leftPadding: 10
|
||||||
rightPadding: 10
|
rightPadding: 10
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
width: root.width - x
|
width: root.width
|
||||||
horizontalAlignment: Text.AlignHCenter
|
|
||||||
|
|
||||||
onLinkActivated: ContentLibraryBackend.rootView.addQtQuick3D()
|
onLinkActivated: ContentLibraryBackend.rootView.addQtQuick3D()
|
||||||
|
|
||||||
|
@@ -120,7 +120,10 @@ HelperWidgets.ScrollView {
|
|||||||
font.pixelSize: StudioTheme.Values.baseFontSize
|
font.pixelSize: StudioTheme.Values.baseFontSize
|
||||||
topPadding: 10
|
topPadding: 10
|
||||||
leftPadding: 10
|
leftPadding: 10
|
||||||
|
rightPadding: 10
|
||||||
visible: root.model.isEmpty
|
visible: root.model.isEmpty
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
width: root.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user