Franzishans123 wrote: ↑March 29th, 2023, 9:48 am
Ah tank very much! Just one question where can i add a code to display an InActiveColor? I switched every color to white, deleted the bordercolor, but I am having trouble to add a setting to set the Inactive circles to a different color. I want them to be grayish.
The original design let you select different colors for each desktop indicator and then highlighted the active one with a white border.
There was no inactivecolor defined.
To change the function to all grayish except for the active desktop, requires changing what the skin does when another desktop is selected. This can be done by changing the action bang in the [MeasureVirtualDesktop]
section but note, this has to be modified in every skin
To use "grayish" color by default and #ActiveColor1# as the active indicator, change the OnUpdateAction in that section to this:
Code: Select all
; ========= Measures ==========
OnUpdateAction=[!SetOptionGroup Button MyStrokeColor "Stroke Color #*InActiveBorderColor*#,#*AlphaLow*#"][!SetOptionGroup Button MyFill "Fill Color 127,127,127,#*AlphaHigh*#"][!SetOption "Desktop[MeasureVirtualDesktop:]" "MyStrokeColor" "Stroke Color #*ActiveBorderColor*#,#*AlphaHigh*#"][!SetOption "Desktop[MeasureVirtualDesktop:]" "MyFill" "Fill Color #*ActiveColor1*#,#*AlphaHigh*#"][!UpdateMeter *][!Redraw]
That will set all desktop indicators to 127,127,127 (grayish) and set the active desktop to #ActiveColor1#.
Franzishans123 wrote:Ah yeah and why do the circles keep switching positions on my desktop, even when i fix the position they always appear after reloading the skin in the left half of the screen?
That does not happen for me... the skins set the Z-Position to "TopMost" on refresh but do not move from the last position.
you said you deleted bordercolor and if you made other changes you may want to re-install the package before makng the change to the [MeasureVirtualDesktop]