warnings--

This commit is contained in:
Marco Martin 2020-02-14 13:36:29 +01:00
parent 426b33533a
commit e80248b9da
2 changed files with 4 additions and 11 deletions

View file

@ -139,17 +139,10 @@ ContainmentLayoutManager.ItemContainer {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignTop
maximumLineCount: 2
//elide: Text.ElideRight
elide: truncated ? Text.ElideLeft : Text.ElideRight
elide: Text.ElideRight
text: model.ApplicationNameRole
text: {
// This trick can get us a shorter text but without ...
if (truncated) {
return model.ApplicationNameRole + "\x9C"
} else {
return model.ApplicationNameRole;
}
}
//FIXME: export smallestReadableFont
font.pointSize: theme.defaultFont.pointSize * 0.9
color: "white"//model.ApplicationLocationRole == ApplicationListModel.Desktop ? "white" : theme.textColor

View file

@ -38,7 +38,7 @@ LauncherContainer {
opacity: launcherDragManager.active && plasmoid.nativeInterface.applicationListModel.favoriteCount >= plasmoid.nativeInterface.applicationListModel.maxFavoriteCount ? 0.3 : 1
height: launcherGrid.cellHeight + topPadding + bottomPadding
height: launcherGrid.cellHeight
frame.implicitWidth: launcherGrid.cellWidth * Math.max(1, flow.children.length) + frame.leftPadding + frame.rightPadding