2019-03-05, 19:38
Hello!
How to manually change the width between each menu item?
There is a code:
I need to get a menu like this:
Tell me how to do this? I can not understand. Why is there no logical solution?
Thanks.
How to manually change the width between each menu item?
There is a code:
xml:
<control type="list" id="9000">
<left>80</left>
<top>5</top>
<width>1122</width>
<height>60</height>
<pagecontrol/>
<focusposition>2</focusposition>
<orientation>Horizontal</orientation>
<itemlayout height="60" width="100">
<control type="label">
<left>0</left>
<top>0</top>
<width min="0" max="299">auto</width>
<height>60</height>
<font>font_Title</font>
<textcolor>White</textcolor>
<scroll>false</scroll>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="60" width="100">
<control type="label">
<left>0</left>
<top>0</top>
<width min="0" max="299">auto</width>
<height>60</height>
<font>font_Title</font>
<textcolor>White</textcolor>
<scroll>false</scroll>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<content>
<item id="1">
<label>Menu 1</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="2">
<label>Menu 2</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="3">
<label>Menu 3</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="4">
<label>Menu 4</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="5">
<label>Menu 5</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="6">
<label>Menu 6</label>
<icon/>
<thumb/>
<visible/>
</item>
<item id="7">
<label>Menu 7</label>
<icon/>
<thumb/>
<visible/>
</item>
</content>
</control>
I need to get a menu like this:
xml:Menu 1<!-----------------------Gap of such width--------------------------------->Menu 2<!--width-->Menu 3<!--width-->Menu 4<!-----------Gap of such width--------> Menu 5<!---------------------------------Gap of such width--------------------->Menu 6<!--width-->Menu 7
Tell me how to do this? I can not understand. Why is there no logical solution?
Thanks.