stacked layout * ControlObject initialised the wrong way?
I built a skin (http://
This menu is stacked on top of main part of skin (not inside it to not disturb SizeAwareStacks).
No matter which value I give to the corresponding custom ControlObject which is toggling the visibility in skin.xml: menu is visible after starting MIxxx. It seems this CO just isn't picked up correctly.
When I set it to 0 the toggle_button is in zero-state (invisible) but the menu is visible anyway. Pressing the button toggles to 1 and menu is still visible, pressing it again finally hides the menu.
When I initially set it to 1 button and menu are both in 1-state and visible (expected). This is how left it to avoid any confusion, though I suppose I/we don't need skin settings at every start.
It doesn't matter if persist="" is true or false.
It doesn'tmatter if I put it mixxx.cfg before starting.
Do I have to put that declaration in a special place/order in skin.xml? I just don't get it..
All other COs work correct.
Thanks for any help!
To clearify:
in skin.xml I have
<attribute persist="true" config_
and below
<WidgetGroup>
<ObjectName>
<
<
<Children>
-> <Template src="skin:
...
</Children>
</WidgetGroup>
skin_settings.xml
<Template>
<WidgetGroup>
<Children>
...
</Children>
<Connection>
-> <ConfigKey>
</Connection>
</WidgetGroup>
</Template>
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Mixxx Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Daniel Schürmann
- Solved:
- Last query:
- Last reply: