@ -160,20 +160,33 @@ Item {
&& ! plasmaBackgroundForPopups * / )
property bool solidBusyForTouchingBusyVerticalView: false / / D I S A B L E D , u n t i l t o c h e c k i f t h e n o r m a l B u s y F o r T o u c h i n g B u s y V e r t i c a l V i e w i s e n o u g h t o c a t c h a n d h a n d l e t h e c a s e
/*(latteView && latteView.windowsTracker /*is touching a vertical view that is in busy state and the user prefers solidness*/
/ * & & l a t t e V i e w . w i n d o w s T r a c k e r . c u r r e n t S c r e e n . i s T o u c h i n g B u s y V e r t i c a l V i e w
/*(latteView && latteView.windowsTracker /*is touching a vertical view that is in busy state and the user prefers solidness*/
/ * & & l a t t e V i e w . w i n d o w s T r a c k e r . c u r r e n t S c r e e n . i s T o u c h i n g B u s y V e r t i c a l V i e w
&& root . themeColors === Latte . Types . SmartThemeColors
&& plasmoid . configuration . backgroundOnlyOnMaximized
&& plasmoid . configuration . solidBackgroundForMaximized
&& ! plasmaBackgroundForPopups ) * /
property bool plasmaStyleBusyForTouchingBusyVerticalView: false / / D I S A B L E D , u n t i l t o c h e c k i f t h e n o r m a l B u s y F o r T o u c h i n g B u s y V e r t i c a l V i e w i s e n o u g h t o c a t c h a n d h a n d l e t h e c a s e
/ / ( l a t t e V i e w & & l a t t e V i e w . w i n d o w s T r a c k e r / * i s t o u c h i n g a v e r t i c a l v i e w t h a t i s i n b u s y s t a t e a n d t h e u s e r p r e f e r s s o l i d n e s s * /
/ * & & l a t t e V i e w . w i n d o w s T r a c k e r . c u r r e n t S c r e e n . i s T o u c h i n g B u s y V e r t i c a l V i e w
/ / ( l a t t e V i e w & & l a t t e V i e w . w i n d o w s T r a c k e r / * i s t o u c h i n g a v e r t i c a l v i e w t h a t i s i n b u s y s t a t e a n d t h e u s e r p r e f e r s s o l i d n e s s * /
/ * & & l a t t e V i e w . w i n d o w s T r a c k e r . c u r r e n t S c r e e n . i s T o u c h i n g B u s y V e r t i c a l V i e w
&& root . themeColors === Latte . Types . SmartThemeColors
&& plasmoid . configuration . backgroundOnlyOnMaximized
&& plasmaBackgroundForPopups ) * /
property bool hideThickScreenGap: screenEdgeMarginEnabled
&& plasmoid . configuration . hideScreenGapForMaximized
&& latteView && latteView . windowsTracker
&& latteView . windowsTracker . currentScreen . existsWindowMaximized
property bool hideLengthScreenGaps: hideThickScreenGap
&& ( latteView . visibility . mode === Latte . Types . AlwaysVisible
|| latteView . visibility . mode === Latte . Types . WindowsGoBelow )
&& ( plasmoid . configuration . panelPosition === Latte . Types . Justify )
&& maxLengthPerCentage > 85
&& ! root . editMode
property int themeColors: plasmoid . configuration . themeColors
property int windowColors: plasmoid . configuration . windowColors
@ -199,7 +212,7 @@ Item {
property bool dockIsShownCompletely: ! ( dockIsHidden || inSlidingIn || inSlidingOut ) && ! root . editMode
property bool dragActiveWindowEnabled: plasmoid . configuration . dragActiveWindowEnabled
property bool immutable: plasmoid . immutable
property bool inFullJustify: ( plasmoid . configuration . panelPosition === Latte . Types . Justify ) && ( plasmoid. configuration . maxLength=== 100 )
property bool inFullJustify: ( plasmoid . configuration . panelPosition === Latte . Types . Justify ) && ( maxLengthPerCentage === 100 )
property bool inSlidingIn: visibilityManager ? visibilityManager.inSlidingIn : false
property bool inSlidingOut: visibilityManager ? visibilityManager.inSlidingOut : false
property bool inStartup: true
@ -254,11 +267,13 @@ Item {
}
property int latteAppletPos: - 1
property int maxLengthPerCentage: hideLengthScreenGaps ? 100 : plasmoid . configuration . maxLength
property int maxLength: {
if ( root . isHorizontal ) {
return behaveAsPlasmaPanel ? width : width * ( plasmoid. configuration . maxLength/ 100 )
return behaveAsPlasmaPanel ? width : width * ( maxLengthPerCentage / 100 )
} else {
return behaveAsPlasmaPanel ? height : height * ( plasmoid. configuration . maxLength/ 100 )
return behaveAsPlasmaPanel ? height : height * ( maxLengthPerCentage / 100 )
}
}
@ -287,7 +302,7 @@ Item {
}
var forcedNoShadows = ( plasmoid . configuration . panelShadows && disablePanelShadowMaximized
&& latteView && latteView . windowsTracker && latteView . windowsTracker . currentScreen . activeWindowMaximized ) ;
&& latteView && latteView . windowsTracker && latteView . windowsTracker . currentScreen . activeWindowMaximized ) ;
if ( forcedNoShadows ) {
return false ;
@ -393,8 +408,10 @@ Item {
property int thickMargin: thickMarginFactor * root . iconSize
property bool screenEdgeMarginEnabled: plasmoid . configuration . screenEdgeMargin >= 0 && ! plasmoid . configuration . shrinkThickMargins
property int screenEdgeMargin: ! screenEdgeMarginEnabled ? 0 : plasmoid . configuration . screenEdgeMargin
property int localScreenEdgeMargin: ( screenEdgeMarginEnabled && behaveAsPlasmaPanel ) || ! screenEdgeMarginEnabled ? 0 : plasmoid . configuration . screenEdgeMargin
property int screenEdgeMargin: ! screenEdgeMarginEnabled || hideThickScreenGap ? 0 : plasmoid . configuration . screenEdgeMargin
property int localScreenEdgeMargin: ( screenEdgeMarginEnabled && behaveAsPlasmaPanel )
|| ! screenEdgeMarginEnabled
|| hideThickScreenGap ? 0 : plasmoid . configuration . screenEdgeMargin
/ / ! t h i c k n e s s m a r g i n s a r e a l w a y s t w o a n d e q u a l i n o r d e r f o r i t e m s
/ / ! t o b e a l w a y s c o r r e c t l y c e n t e r e d