2010-09-14, 00:18
I'm hacking the skin to replace the usual sub-menu items in the home Video menu into links that will randomly play from smart playlists of TV shows. Some of the names go too long for the current width, though.
How would I edit the skin to increase the width as shown above? Would it be as simple as just changing something in home.xml like I am assuming? Do I have to get dirty and change images?
Or is there already a skin mod I can download that either fixes this issue, or uses a different home design where this is never a problem to begin with?
Edit: cptspiff in IRC pointed me to this:
Changing 'width' and 'textwidth' only seems to be half of the solution, though. Even when I increase the numbers by, like, 400 pixels, it only gets a little larger. It's as if the rest of the increase is being cut off by something else I need to change. The items that go long and end in ... no longer scroll, so as far as ButtonHomeSubCommonValues is concerned, the names are no longer too long... but something is still holding me back.
How would I edit the skin to increase the width as shown above? Would it be as simple as just changing something in home.xml like I am assuming? Do I have to get dirty and change images?
Or is there already a skin mod I can download that either fixes this issue, or uses a different home design where this is never a problem to begin with?
Edit: cptspiff in IRC pointed me to this:
Code:
<include name="ButtonHomeSubCommonValues">
<height>40</height>
<width>221</width>
<textoffsetx>20</textoffsetx>
<textwidth>195</textwidth>
<aligny>center</aligny>
<font>font12_title</font>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<pulseonselect>false</pulseonselect>
</include>
Changing 'width' and 'textwidth' only seems to be half of the solution, though. Even when I increase the numbers by, like, 400 pixels, it only gets a little larger. It's as if the rest of the increase is being cut off by something else I need to change. The items that go long and end in ... no longer scroll, so as far as ButtonHomeSubCommonValues is concerned, the names are no longer too long... but something is still holding me back.