[mythtv-theming] Change arrow positoins not working.

Christopher X. Candreva chris at westnet.com
Wed Dec 2 02:42:46 UTC 2009


I'm have a buttontree that uses a template from the buttonlist . I can then 
modify many parameters, but I can't move the up and down scroll arrows.

These are the templates. The widthes changes, but the arrows steadfastly 
refuse to move:

    <buttonlist name="buttonlistRetro">
        <area>0,0,280,250</area>
        <layout>vertical</layout>
        <spacing>5</spacing>
        <buttonarea>0,0,100%,97%</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,100%,30</area>
                <textarea name="buttontext">
                    <area>5,0,99%,30</area>
                    <font>small_inactive</font>
                    <cutdown>yes</cutdown>
                    <align>left,vcenter</align>
                </textarea>
                <statetype name="buttoncheck">
                    <position>91%,5</position>
                    <state type="off">
                        <imagetype name="checkoff">
                            <filename>lb-check-empty.png</filename>
                        </imagetype>
                    </state>
                    <state type="half">
                        <imagetype name="checkhalf">
                            <filename>lb-check-half.png</filename>
                        </imagetype>
                    </state>
                    <state type="full">
                        <imagetype name="checkfull">h
                            <filename>lb-check-full.png</filename>
                        </imagetype>
                    </state>
                </statetype>
                <imagetype name="buttonarrow">
                    <position>94%,7</position>
                    <filename>ui/folder.png</filename>
                </imagetype>
            </state>
            <state name="selected" from="active">
                <textarea name="buttontext">
                    <font>small_active</font>
                </textarea>
            </state>
            <state name="inactive" from="active">
                <textarea name="buttontext">
                    <font>small_selected</font>
                </textarea>
            </state>
        </statetype>
        <statetype name="upscrollarrow">
            <position>10,97%</position>
            <state type="off">
                <imagetype name="upon">
                    <filename>lb-uparrow-reg.png</filename>
                </imagetype>
            </state>
            <state type="full">
                <imagetype name="upoff">
                    <filename>lb-uparrow-sel.png</filename>
                </imagetype>
            </state>
        </statetype>
        <statetype name="downscrollarrow">
            <position>40,97%</position>
            <state type="off">
                <imagetype name="dnon">
                    <filename>lb-dnarrow-reg.png</filename>
                </imagetype>
            </state>
            <state type="full">
                <imagetype name="dnoff">
                    <filename>lb-dnarrow-sel.png</filename>
                </imagetype>
            </state>
        </statetype>
    </buttonlist>

        <buttontree name="videos">
            <area>20,100,1220,380</area>
            <numlists>2</numlists>
            <buttonlist name="listtemplate" from="buttonlistRetro" >
                <buttonarea>0,0,610,300</buttonarea>
                <statetype name="buttonitem">
		    <state name="active">
                        <area>0,0,610,30</area>
                        <textarea name="buttontext">
                             <area>5,0,99%,30</area>
                        </textarea>
                    </state>
                    <state name="selected" from="active" >
                        <area>0,0,610,30</area>
                        <imagetype name="selectbar">
                             <area>5,0,99%,30</area>
                            <filename>rk-selectbar.png</filename>
                            <crop>10,0,590,29</crop>
                        </imagetype>
                    </state>
                </statetype>

        <statetype name="upscrollarrow">
            <position>97%,0</position>
        </statetype>
        <statetype name="downscrollarrow">
            <position>97%,0</position>
        </statetype>

            </buttonlist>
        </buttontree>


==========================================================
Chris Candreva  -- chris at westnet.com -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/


More information about the mythtv-theming mailing list