2017-01-15, 12:35
2017-01-15, 13:02
Use a button control?
2017-01-15, 13:38
Would the button resize to fit the label, though, rather than a texture?
2017-01-15, 13:45
the label, but you can use textoffsetx/y to control the texture width/height.
2017-01-15, 14:11
We use this for metacritic rating box. Although I fix it at 45 width, auto can be used to stretch it fine
Code:
<control type="button">
<width>auto</width>
<height>45</height>
<textcolor>black</textcolor>
<textoffsetx>0</textoffsetx>
<label>$INFO[Window(Home).Property(SkinHelper.MetaCritic.Rating)]</label>
<font>TinyBold</font>
<aligny>center</aligny>
<align>center</align>
<texturefocus colordiffuse="$VAR[CommunityRatingColour]">metacritic_box.png</texturefocus>
<texturenofocus colordiffuse="$VAR[CommunityRatingColour]">metacritic_box.png</texturenofocus>
<visible>!IsEmpty(Window(Home).Property(SkinHelper.MetaCritic.Rating))</visible>
<visible>!String.IsEqual(Window(Home).Property(SkinHelper.MetaCritic.Rating),n/a)</visible>
</control>
2017-01-15, 14:26
For the label is that all you have to do to get skin helper service to pull info? O do you have to run script somewhere and set the property... Becuase I have yet to figure out how to get skin helper to work.... I know I am a noob... But really is that all ?
2017-02-07, 12:09
(2017-01-15, 14:26)smitchell6879 Wrote: [ -> ]For the label is that all you have to do to get skin helper service to pull info? O do you have to run script somewhere and set the property... Becuase I have yet to figure out how to get skin helper to work.... I know I am a noob... But really is that all ?
I have the same question. I have that label but no information is pulled
2017-02-07, 15:18
The window property names changed, check skin helper wiki.