2013-10-17, 08:39
I guess this would mainly be aimed at Ronie, but if anyone else has some input feel free.
The new weather provider icon listed in the New Gotham features thread works great, BUT! If you change from a weather addon that provides the windows property to one that does not, the old property is not overridden and so will continue to show even though it should be blank (and the new weather provider label should then show). The code that I am using is thus:-
Does anyone have a work around for this, or should we just point and laugh at Ronie and then flag this as a bug
Wyrm (xTV-SAF)
The new weather provider icon listed in the New Gotham features thread works great, BUT! If you change from a weather addon that provides the windows property to one that does not, the old property is not overridden and so will continue to show even though it should be blank (and the new weather provider label should then show). The code that I am using is thus:-
PHP Code:
<control type="group">
<control type="image">
<description>weather provider logo shadow</description>
<posx>18</posx>
<posy>63</posy>
<width>180</width>
<height>45</height>
<colordiffuse>StudioShadow</colordiffuse>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture>$INFO[Window(Weather).Property(WeatherProviderLogo)]</texture>
</control>
<control type="image">
<description>weather provider logo</description>
<posx>17</posx>
<posy>62</posy>
<width>180</width>
<height>45</height>
<colordiffuse>StudioDiffuse</colordiffuse>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture>$INFO[Window(Weather).Property(WeatherProviderLogo)]</texture>
</control>
</control>
<control type="label">
<description>weather provider label</description>
<posx>17</posx>
<posy>64</posy>
<width>636</width>
<height>20</height>
<font>font11</font>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Window(Weather).Property(WeatherProvider),$LOCALIZE[31536] - ]</label>
<visible>IsEmpty(Window(Weather).Property(WeatherProviderLogo))</visible>
</control>
Does anyone have a work around for this, or should we just point and laugh at Ronie and then flag this as a bug
Wyrm (xTV-SAF)