AIMP Forum
AIMP for PC => Skin Editor, Skin Engine => Вопросы / Questions => Topic started by: Chiira on March 07, 2016, 08:04:28
-
Hello~
I'm sorry if I use English.
It's possible to insert or make layered element?
Aargh hard to explain T^T
For example, please see this pic: http://s5.postimg.org/clcuhkqqv/sampleaimpskin.jpg (or see attached file)
In this case, I want to change playlist background.
Container: contain playlist, button, etc
TabbedContent: contain dynamic background and triggered using button in container.
-
Try to use control Panel instead of background element Container/TabbedGroup (third item on Component Palette). See Help - Skin Structure - Controls - Panel.
Or try to set negative value to property AlignmentMargins for Container and/or TabbedGroup.
-
Try to use control Panel instead of background element Container/TabbedGroup (third item on Component Palette). See Help - Skin Structure - Controls - Panel.
Or try to set negative value to property AlignmentMargins for Container and/or TabbedGroup.
Hwaaaa thanks. That's works!
One again, I hope you understand and can solve my problem.
I have 1 button and 1 tabbedgroup (with 4 container for example). I wanna to show content number 3 in tabbedgroup. I give the button binding directly to tabbedgroup (button.action >>> tabbedgroup.activePage) with transform value 2 and success, content number 3 in tabbedgroup is visible.
Now, how to show for example content number 3 in 5 tabbedgroup with 1 button only?
-
Now, how to show for example content number 3 in 5 tabbedgroup with 1 button only?
Use custom provider - LogicalOperatorCounter. Bind counter value to tabbed group. Via button you will set value for counter.
-
Use custom provider - LogicalOperatorCounter. Bind counter value to tabbed group. Via button you will set value for counter.
But no option in tabbedGroup bindings editor
-
But no option in tabbedGroup bindings editor
Oh, you are right.
You can bind each sub-container in all tabbed groups to counter's value (Visibility to Position) and specify an expression of binding links.
-
Oh, you are right.
You can bind each sub-container in all tabbed groups to counter's value (Visibility to Position) and specify an expression of binding links.
I already doing that.
But I have problem with that.
For example:
I have 3 tabbedGroup with 3 container inside. Each container has background, called A, B and C.
I made 3 LogicalOperatorCounter with parameter module 2 and default count 0. They called counterA, counterB and counterC.
Then, I create 3 button for each LogicalOperatorCounter and also bind them with Transform Value: Value + 1.
I give binding for each container inside tabbedGroup with visibility link.
ButtonA >>> value + 1 >>> counterA
ButtonB >>> value + 1 >>> counterB
ButtonC >>> value + 1 >>> counterC
TabbedGroup 1
A (visibility) <<< counterA (Position)
B (visibility) <<< counterB (Position)
C (visibility) <<< counterC (Position)
TabbedGroup 2
A (visibility) <<< counterA (Position)
B (visibility) <<< counterB (Position)
C (visibility) <<< counterC (Position)
TabbedGroup 3
A (visibility) <<< counterA (Position)
B (visibility) <<< counterB (Position)
C (visibility) <<< counterC (Position)
Were all done, I tested it and work. ButtonA will display all container A, ButtonB display container B and ButtonC display container C. They're work because all visibility of container is set to 1.
But, if I restart AIMP, they display random container. Sometimes display container A, sometimes container B and C until I clicked button again to set the visibility to 0.
For that reason, I want to find another way to toggle multiple tabbedGroup with a single button.
NB: Sorry if my English is bad