BasicHome buttons not showing on VFD (1 Viewer)

mironto

Portal Pro
March 15, 2010
71
6
Home Country
Slovakia Slovakia
I have one more problem. I would like to control my HTPC without turning on the TV (if I want to listen to music or radio) and I have VFD LCD on my case. If I navigate through the home screen, I can see only "Basic home" on the first line of the LCD and no text on bottom line.

I figured that's because MiniDisplay is displaying #selecteditem value and if that's empty #highlightedbutton value for the second line. Since basic home in B&W 1080 is using in common.menu.3rows.xml buttons with empty label, nothing is drawn on the LCD

Code:
<control>
	<description>1 - Button</description>
	<type>button</type>
	<id>99201</id>
	<posX>40</posX>
	<posY>260</posY>
	<width>300</width>
	<height>180</height>
	<textureFocus>basichome_focus.png</textureFocus>
	<textureNoFocus></textureNoFocus>
	<hyperlink>#item1hyperlink</hyperlink>
	<label></label>			<== this is the problem
	<onup>99212</onup>
	<onleft>99212</onleft>
	<ondown>99205</ondown>
	<onright>99202</onright>
</control>

Anybody encountered the same problem and found a way how to fix it?
 

aj1405

Portal Pro
September 30, 2007
443
302
Home Country
Norway Norway
common.menu.3rows.xml was made this way so we could center the label below the icon.

Try adding the following to the button controls:
<label>#item1label</label>
<textYOff>1080</textYOff>
 

mironto

Portal Pro
March 15, 2010
71
6
Home Country
Slovakia Slovakia
Thanks a lot for the idea! I managed to do it the "cleaner" way by setting the text to transparent color:

<label>#item1label</label>
<textcolor>00000000</textcolor>
<textcolorNoFocus>00000000</textcolorNoFocus>
 

Users who are viewing this thread

Top Bottom