mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
warnings--
This commit is contained in:
parent
426b33533a
commit
e80248b9da
2 changed files with 4 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue