[Help]Weird focus for submenus
#1
Hey Guys...
a few days ago I started to learn skinning with the new horizontal confluence...
I added the option to lower the menubar but there seems to be a problem with it...
I duplicated the group for the menubar in home.xml and have one set to
Code:
<visible>Skin.HasSetting(LowerMenu)</visible>
and one for
Code:
<visible>!Skin.HasSetting(LowerMenu)</visible>

Funny thing is that the first group is ever alright with submenus, no matter if first "group" is
Code:
<visible>Skin.HasSetting(LowerMenu)</visible>
or
Code:
<visible>!Skin.HasSetting(LowerMenu)</visible>

The second group instead seems to have a problem with the "HasFocus" as it does not matter if weather, music or system etc. is selected...it always shows the submenu for videos...

Here is my home.xml---> pastebin

Anyone has a hint for me?

Thanks for the help in advance.

cheers,
mm
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#2
You have 2 groups or 2 different xml files ? I think the best way is to keep them separate. Just my opinion ...
Reply
#3
mad-max Wrote:Here is my home.xml---> pastebin

had a peek but didn't spot anything obvious at first sight.

but...instead of duplicating the menu code,
why not use a conditional slide animation instead?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
Hey butch...

I have 2 different groups as I do not know how to split the options for Skin.HasSetting in two different IncludesXYZ.xml...

cheers
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#5
ronie Wrote:had a peek but didn't spot anything obvious at first sight.

but...instead of duplicating the menu code,
why not use a conditional slide animation instead?

Ok so the code seems to be alright...

Why I do not use a conditional slide animation? I guess, I´m not skilled enough for that...

But If someone can help me out this, it would be very much appreciated...

cheers
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#6
ok, i guess all you need is this then:
Code:
<animation effect="slide" start="0,0" end="0,110" time="0" condition="Skin.HasSetting(LowerMenu)">Conditional</animation>


no need to duplicate ~200 lines of code if only you want to have it a little lower on screen ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
Awesome Ronie...you made my day!!!
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply

Logout Mark Read Team Forum Stats Members Help
[Help]Weird focus for submenus0