Beginner here! I'm modding a skin and currently I'm editing the details row (under the clearlogo) as shown in the picture.
![Full sized picture Image]()
The MPAA part was originally in a group control with image and label controls to display the MPAA text and flag box. This is also in a group list with the rest of the details row.
But in order to have the texture width scale with the label (instead of being a set width within the group list and a truncated label), I changed this group to a button control instead because as I understand it, this is the only way you can have the texture scale with the label (or so I've read).
My code appears to work fine for the homescreen, dynamic texture according to the label width, all adjusting dynamically in the details row. But this same details row group list is also included in other windows, and in these windows the button control I created is actually acting like a button. As soon as I switch to another window that also includes the details row, the focus is stuck on the button rather then on the widgets it should normally be focused on.
Is there something I can add to prevent the button from being focused on?
My code is as follows:
Edit: I fixed it with <enable>false</enable>

The MPAA part was originally in a group control with image and label controls to display the MPAA text and flag box. This is also in a group list with the rest of the details row.
But in order to have the texture width scale with the label (instead of being a set width within the group list and a truncated label), I changed this group to a button control instead because as I understand it, this is the only way you can have the texture scale with the label (or so I've read).
My code appears to work fine for the homescreen, dynamic texture according to the label width, all adjusting dynamically in the details row. But this same details row group list is also included in other windows, and in these windows the button control I created is actually acting like a button. As soon as I switch to another window that also includes the details row, the focus is stuck on the button rather then on the widgets it should normally be focused on.
Is there something I can add to prevent the button from being focused on?
My code is as follows:
<include name="MPAA_Details_Row">
<include>Default_Visible_Fade</include>
<control type="button">
<visible>!String.IsEmpty(ListItem.Mpaa)</visible>
<posy>5</posy>
<height>38</height>
<width>auto</width>
<align>center</align>
<aligny>top</aligny>
<textwidth>140</textwidth>
<textcolor>silver</textcolor>
<texturenofocus colordiffuse="ff424242">bingie/square-rounded.png</texturenofocus>
<texturefocus colordiffuse="ff424242">bingie/square-rounded.png</texturefocus>
<textoffsetx>15</textoffsetx>
<textoffsety>1</textoffsety>
<font>Reg26</font>
<label>$VAR[GetMPAA]</label>
</control>
Edit: I fixed it with <enable>false</enable>