mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Fix SevenStart bug regarding wrong favorites view height
This commit is contained in:
parent
531833f055
commit
c50b8275d6
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ PlasmaCore.Dialog {
|
||||||
Layout.minimumWidth: root.cellWidth + root.cellWidthSide
|
Layout.minimumWidth: root.cellWidth + root.cellWidthSide
|
||||||
Layout.maximumWidth: root.cellWidth + root.cellWidthSide
|
Layout.maximumWidth: root.cellWidth + root.cellWidthSide
|
||||||
|
|
||||||
property int mainPanelHeight: ((root.cellHeight+units.smallSpacing/2) * (plasmoid.configuration.numberRows-1)) + searchBackground.height + (allButtonsArea.height) + (units.smallSpacing * (15 - plasmoid.configuration.numberRows)) + units.smallSpacing / 2 + 1
|
property int mainPanelHeight: ((root.cellHeight+units.smallSpacing/2) * (plasmoid.configuration.numberRows-1)) + searchBackground.height + (allButtonsArea.height) + (units.smallSpacing * (15 - plasmoid.configuration.numberRows)) + units.smallSpacing / 2 + 1 - (plasmoid.configuration.showRecentsView ? 0 : units.smallSpacing*2)
|
||||||
property int sidePanelHeight: backgroundBorderLine.height + searchBackground.height + columnItems.height + (compositingEnabled ? units.iconSizes.huge / 2 + units.smallSpacing : nonCompositingIcon.height + units.smallSpacing);
|
property int sidePanelHeight: backgroundBorderLine.height + searchBackground.height + columnItems.height + (compositingEnabled ? units.iconSizes.huge / 2 + units.smallSpacing : nonCompositingIcon.height + units.smallSpacing);
|
||||||
property bool sidePanelOverflow: mainPanelHeight <= sidePanel;
|
property bool sidePanelOverflow: mainPanelHeight <= sidePanel;
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@ PlasmaCore.Dialog {
|
||||||
width: root.cellWidth
|
width: root.cellWidth
|
||||||
height: (plasmoid.configuration.showRecentsView ?
|
height: (plasmoid.configuration.showRecentsView ?
|
||||||
(((root.cellHeight-2) * (faves.getFavoritesCount() > 9 ? 9 : faves.getFavoritesCount()))/* - units.smallSpacing * 2*/) :
|
(((root.cellHeight-2) * (faves.getFavoritesCount() > 9 ? 9 : faves.getFavoritesCount()))/* - units.smallSpacing * 2*/) :
|
||||||
((root.cellHeight) * plasmoid.configuration.numberRows - units.smallSpacing/2 - allProgramsButton.height*2 - allProgramsSeparator.height)) - units.smallSpacing/2
|
((root.cellHeight-2) * (plasmoid.configuration.numberRows+1) + units.smallSpacing*2+1 - allProgramsButton.height*2 - allProgramsSeparator.height)) - units.smallSpacing/2
|
||||||
|
|
||||||
visible: !showingAllPrograms && !searching
|
visible: !showingAllPrograms && !searching
|
||||||
z: 8
|
z: 8
|
||||||
|
|
Loading…
Reference in a new issue