DialogAddonInfo.xml
#1
Why can i not <onleft> or <onright> from buttons 6 t/m11 in DialogAddonInfo.xml?
Or even <onup> or <ondown> between anything else then themselves.
Can't get to back button or main menu.

Also,
I gave button 10 (Cancel) in DialogProgress an image, but the text (Cancel) is displayed on top of it.
<textoffsety> doesn't seem to help.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#2
(2012-10-15, 13:11)MassIV Wrote: Why can i not <onleft> or <onright> from buttons 6 t/m11 in DialogAddonInfo.xml?
Or even <onup> or <ondown> between anything else then themselves.
Can't get to back button or main menu.

Also,
I gave button 10 (Cancel) in DialogProgress an image, but the text (Cancel) is displayed on top of it.
<textoffsety> doesn't seem to help.

Are they in a grouplist? If so, add the <on.. direction controls to that.
Reply
#3
They are, and i tried. I tried everything i could think of.
Directions on the grouplist, on the buttons, on both, give the grouplist a different number.
It is inside a group that has only conditional visibility. There are no other buttons on the page.

Code:
<control type="grouplist" id="9000">
    <posx>355</posx>
    <posy>185</posy>
    <width>474</width>
    <height>222</height>
    <itemgap>3</itemgap>
    <onup>9000</onup>
    <ondown>9000</ondown>
    <onright>300</onright>
    <onleft>66</onleft>
    <orientation>vertical</orientation>
                
    <control type="button" id ="6">
        <description>enable addon</description>
        <label>[LOWERCASE]enable[/LOWERCASE]</label>
        <width>170</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>55ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
        </control>
      
    <control type="button" id ="7">
        <description>disable Addon</description>
        <label>[LOWERCASE]disable[/LOWERCASE]</label>
        <width>180</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>22ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
    </control>            
              
    <control type="button" id ="9">
        <description>Config</description>
        <label>configure</label>
        <width>180</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>55ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
    </control>
                  
    <control type="button" id="8">
        <description>update</description>
        <label>update</label>
        <width>160</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>55ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
    </control>
                
    <control type="button" id="10">
        <description>changelog</description>
        <label>changelog</label>
        <width>190</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>55ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
    </control>
                
    <control type="button" id="11">
        <description>rollback</description>
        <label>rollback</label>
        <width>190</width>
        <height>34</height>
        <align>left</align>
        <aligny>top</aligny>
        <textoffsetx>41</textoffsetx>
        <textoffsety>1</textoffsety>
        <texturefocus>info/ButtonFoLong.png</texturefocus>
        <texturenofocus>-</texturenofocus>
        <textcolor>itemdetail3</textcolor>
        <focusedcolor>itemdetailb</focusedcolor>
        <disabledcolor>55ffffff</disabledcolor>
        <colordiffuse>85FFFFFF</colordiffuse>
        <font>plot</font>
    </control>
</control>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#4
Works for me -

Image

<onright> in the grouplist to the TEST button.
Reply
#5
Yes, that works for me too. I can get to that test button. Guess the problem is more specific.
The control i'm trying to reach is an include in AddonBrowser.xml.
And even my test button can't set focus to it. Not with <onfocus> or with <on...anything
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#6
How are you loading the include? Conditionally?
Reply
#7
Just in a group. The "nav" include is the one in question. It holds a horizontal wraplist top menu (id="300"). And a separate back button in the bottom (id="66").

Code:
<control type="group">
    <include>DropDownBar</include>
    <include>nav</include>
</control>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#8
What happens if you just put all the include code in AddonBrowser.xml?
Reply
#9
Same problem.

-edit-
Just put up a latest version for you if that would help (22Mb).
http://code.google.com/p/skin-git/downloads/list
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#10
Unfortunately it freezes when I try and enter Settings or Addons.
Reply
#11
Yeah, haven't figured out why. Can take a minute or so, but it will still load.
Seems to be sporadic, and on the first load.

Looking at a debug of it now. It does not reveal it's secrets to me.
But that is another problem. So'i'm making another thread for that.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#12
Code:
<control type="group">
    <include>DropDownBar</include>
    <include>nav</include>
</control>
Needs to go in DialogAddonInfo.xml.
Reply
#13
Yeah, ok. I can just turn the other one off while DialogAddonInfo.xml is visible.

Thnx again for your time Hitcher.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply

Logout Mark Read Team Forum Stats Members Help
DialogAddonInfo.xml0