2016-02-23, 19:18
also, you guys in the includes_Viewtypes file have this code added three times:
What that does is add the dark spot and the text for next aired on Landscape view three times.
I'm not sure what the first two are for, but what I did was remove the first two and if you are interested, changed the third one to this:
And changed the overlaynextaired.png image to this:
I think it looks better, but that's of course entirely up to you guys, but here is what it looks like:
EDIT:
Thats actually perfect, thanks!
Edit: just checked it out, the top menu still drops down if empty, Or was the change for the side one?
Code:
<control type="group">
<visible>[!Stringcompare(Control.GetLabel(4421),infopanelon) + !Control.IsVisible(750) + [Container.Content(tvshows) | Container.Content(seasons)]] + Skin.HasSetting(hidenextdayaired)</visible>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="Control.IsVisible(7550)">Conditional</animation>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="Control.HasFocus(61)">Conditional</animation>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="IsEmpty(Window(Home).Property(NextAired.NextDate))">Conditional</animation>
<animation effect="slide" end="0,-145" time="240" easing="in" tween="cubic">WindowClose</animation>
<animation effect="slide" end="0,40" time="320" easing="inout" tween="cubic" condition="Skin.HasSetting(FadedTopBar) | !Skin.HasSetting(ClassicTopBar)">Conditional</animation>
<control type="image">
<left>580</left>
<top>-80</top>
<width>750</width>
<height>210</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture>home/overlaynextaired.png</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
</control>
<control type="label">
<left>550</left>
<top>5</top>
<width>800</width>
<height>20</height>
<aligny>center</aligny>
<align>center</align>
<label>$INFO[Window(Home).Property(NextAired.NextTitle)]</label>
<font>Font_Bold19</font>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<left>550</left>
<top>45</top>
<width>800</width>
<height>20</height>
<aligny>center</aligny>
<align>center</align>
<label>$INFO[Window(Home).Property(NextAired.NextDay)]$INFO[Window(Home).Property(NextAired.NextSeasonNumber), - S]$INFO[Window(Home).Property(NextAired.NextEpisodeNumber),E]</label>
<font>Font_Bold19</font>
<shadowcolor>black</shadowcolor>
</control>
</control>
What that does is add the dark spot and the text for next aired on Landscape view three times.
I'm not sure what the first two are for, but what I did was remove the first two and if you are interested, changed the third one to this:
Code:
<control type="group">
<visible>[!Stringcompare(Control.GetLabel(4421),infopanelon) + [Container.Content(tvshows) | Container.Content(seasons)]] + Skin.HasSetting(hidenextdayaired)</visible>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="Control.IsVisible(7550)">Conditional</animation>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="Control.HasFocus(61)">Conditional</animation>
<animation effect="slide" end="0,-145" time="320" easing="inout" tween="cubic" condition="IsEmpty(Window(Home).Property(NextAired.NextDate))">Conditional</animation>
<animation effect="slide" end="0,-145" time="240" easing="in" tween="cubic">WindowClose</animation>
<animation effect="slide" end="0,40" time="320" easing="inout" tween="cubic" condition="Skin.HasSetting(FadedTopBar) | !Skin.HasSetting(ClassicTopBar)">Conditional</animation>
<control type="image">
<posx>636</posx>
<posy>5</posy>
<width>648</width>
<height>97</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture>Overlaynextaired.png</texture>
<visible>!IsEmpty(Window(Home).Property(NextAired.NextDate))</visible>
<animation effect="slide" tween="cubic" easing="inout" time="400" start="0,-200" end="0,0">VisibleChange</animation>
</control>
<control type="label">
<posx>660</posx>
<posy>10</posy>
<width>600</width>
<height>50</height>
<align>center</align>
<font>font13</font>
<textcolor>orange</textcolor>
<shadowcolor>black</shadowcolor>
<label>Next Episode: $INFO[Window(Home).Property(NextAired.NextNumber),, - ]$INFO[Window(Home).Property(NextAired.NextTitle)]</label>
<visible>Container.Content(tvshows) + !IsEmpty(Window(Home).Property(NextAired.NextDate))</visible>
<animation effect="slide" tween="cubic" easing="inout" time="400" start="0,-200" end="0,0">VisibleChange</animation>
</control>
<control type="label">
<posx>660</posx>
<posy>40</posy>
<width>600</width>
<height>50</height>
<align>center</align>
<font>font13</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<label>Airs: $INFO[Window(Home).Property(NextAired.NextDate),, | ]$INFO[Window(Home).Property(NextAired.AirTime)]</label>
<visible>Container.Content(tvshows) + !IsEmpty(Window(Home).Property(NextAired.NextDate))</visible>
<animation effect="slide" tween="cubic" easing="inout" time="400" start="0,-200" end="0,0">VisibleChange</animation>
</control>
</control>
And changed the overlaynextaired.png image to this:
I think it looks better, but that's of course entirely up to you guys, but here is what it looks like:
EDIT:
(2016-02-23, 19:15)BobCratchett Wrote: A toggle to enable/disable requires a lot of code, just because the custom window used for the quick nav is also used for the view selector, so it would mean a lot of conditions added each time the window is opened. However, I've pushed a relatively tiny change to the skinshortcuts-dev branch which means it won't show (actually, it'll close itself before you even knew it was open) if there are no items in it.
Thats actually perfect, thanks!
Edit: just checked it out, the top menu still drops down if empty, Or was the change for the side one?