Hi peeps,
as it is taking such a long time now for team Titan to introduce skinfiles for Worldweather, I will continue working to my own files @ here.
One thing I can't get done, is changing the textcolor in a groupelement. In the example bellow I want to make the labels just white, but they still looking 'grey' or something similair.. (as they have no focus or something like that)
Adding <textcolor>FFFFFFFF</textcolor> to the controls doesn't make any difference.. Only when I add those items that are stored in a groupelement in a seperate control, it's white as it should be.
I thought that the fontcolor for a groupelement was stored in references.xml, but I can't find it.
This is the control (stored in WorldWeatherNormalCondition.xml) wich is markes red in the image bellow:
<control>
<type>group</type>
<description>group element</description>
<layout>StackLayout(5, Vertical, true)</layout>
<posX>1130</posX>
<posY>330</posY>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="250">WindowClose</animation>
<control>
<description>Current Precipitation label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayPrecipitation</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayPrecipitation, )</visible>
</control>
<control>
<description>current visibility label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayVisibility</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayVisibility, )</visible>
</control>
<control>
<description>current cloud coverage label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayCloudCoverage</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayCloudCoverage, )</visible>
</control>
<control>
<description>current wind label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayWindDirection - #WorldWeather.TodayWindSpeed</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<width>467</width>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+string.equals(#WorldWeather.TodayWindDirectionDegree, )</visible>
</control>
<control>
<description>current wind label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayWindDirection (#WorldWeather.TodayWindDirectionDegree) - #WorldWeather.TodayWindSpeed</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayWindDirectionDegree, )</visible>
</control>
<control>
<description>current humidity label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayHumidity</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>current pressure label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayPressure #WorldWeather.TodayBarometricPressure</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayPressure, )</visible>
</control>
<control>
<description>current dewpoint label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayDewPoint</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayDewPoint, )</visible>
</control>
<control>
<description>Current sunrise label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationSunriseTime</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>Current sunset label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationSunsetTime</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>current moonphase label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationMoonPhase</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
</control>
as it is taking such a long time now for team Titan to introduce skinfiles for Worldweather, I will continue working to my own files @ here.
One thing I can't get done, is changing the textcolor in a groupelement. In the example bellow I want to make the labels just white, but they still looking 'grey' or something similair.. (as they have no focus or something like that)
Adding <textcolor>FFFFFFFF</textcolor> to the controls doesn't make any difference.. Only when I add those items that are stored in a groupelement in a seperate control, it's white as it should be.
I thought that the fontcolor for a groupelement was stored in references.xml, but I can't find it.
This is the control (stored in WorldWeatherNormalCondition.xml) wich is markes red in the image bellow:
<control>
<type>group</type>
<description>group element</description>
<layout>StackLayout(5, Vertical, true)</layout>
<posX>1130</posX>
<posY>330</posY>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="250">WindowClose</animation>
<control>
<description>Current Precipitation label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayPrecipitation</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayPrecipitation, )</visible>
</control>
<control>
<description>current visibility label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayVisibility</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayVisibility, )</visible>
</control>
<control>
<description>current cloud coverage label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayCloudCoverage</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayCloudCoverage, )</visible>
</control>
<control>
<description>current wind label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayWindDirection - #WorldWeather.TodayWindSpeed</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<width>467</width>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+string.equals(#WorldWeather.TodayWindDirectionDegree, )</visible>
</control>
<control>
<description>current wind label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayWindDirection (#WorldWeather.TodayWindDirectionDegree) - #WorldWeather.TodayWindSpeed</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayWindDirectionDegree, )</visible>
</control>
<control>
<description>current humidity label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayHumidity</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>current pressure label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayPressure #WorldWeather.TodayBarometricPressure</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayPressure, )</visible>
</control>
<control>
<description>current dewpoint label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.TodayDewPoint</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)+!string.equals(#WorldWeather.TodayDewPoint, )</visible>
</control>
<control>
<description>Current sunrise label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationSunriseTime</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>Current sunset label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationSunsetTime</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
<control>
<description>current moonphase label</description>
<type>label</type>
<id>0</id>
<label>#WorldWeather.LocationMoonPhase</label>
<font>font11</font>
<height>22</height>
<align>Right</align>
<width>500</width>
<textcolor>FFFFFFFF</textcolor>
<visible>string.equals(#WorldWeather.View,Condition)+string.equals(#WorldWeather.ConditionView,Normal)</visible>
</control>
</control>
Attachments
Last edited: