home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Windows 10 Theme for BlueVision skin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1158661" data-attributes="member: 145639"><p>First version of schedule screen:</p><p>[ATTACH]171101[/ATTACH]</p><p>The grid layout will come just to answer already potential questions in advance <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>Problem I have is that I can not get the EndTime of the schedule in SlimTVStyles.xaml. As you can see everything is working beside that. Looking into the Model I can also find the variable available: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/3e61bc4bfa9be0ddf9d2942d2141286e90f0a331/MediaPortal/Incubator/SlimTvClient/Models/SlimTvScheduleManagement.cs#L52" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/3e61bc4bfa9be0ddf9d2942d2141286e90f0a331/MediaPortal/Incubator/SlimTvClient/Models/SlimTvScheduleManagement.cs#L52</a></p><p>Any idea why this happens? In the footer it is available ...</p><p style="margin-left: 20px"><p style="margin-left: 20px">[CODE=XML]</p> <p style="margin-left: 20px"> <StackPanel Orientation="Horizontal" Grid.Column="0" x:Name="Channel"></p> <p style="margin-left: 20px"> <Image x:Name="ChannelLogo" Height="40" Stretch="Uniform" Margin="5,2,5,2"></p> <p style="margin-left: 20px"> <Image.Source></p> <p style="margin-left: 20px"> <fanart:FanArtImageSource fanart:FanArtMediaType="ChannelTv" fanart:FanArtType="Banner" fanart:FanArtName="{Binding [ChannelName]}"</p> <p style="margin-left: 20px"> fanart:MaxWidth="0" fanart:MaxHeight="0"/></p> <p style="margin-left: 20px"> </Image.Source></p> <p style="margin-left: 20px"> </Image></p> <p style="margin-left: 20px"> <Label x:Name="ChannelText" Scroll="Auto" Content="{Binding [ChannelName]}" Color="{ThemeResource TextColor}"</p> <p style="margin-left: 20px"> FontSize="{ThemeResource SmallFontSize}" Margin="5" VerticalAlignment="Center"/></p> <p style="margin-left: 20px"> </StackPanel></p> <p style="margin-left: 20px"> </p> <p style="margin-left: 20px"> <Label x:Name="ItemLabel" Grid.Column="1" Content="{Binding [Name]}" Color="{ThemeResource TextColor}"</p> <p style="margin-left: 20px"> FontSize="{ThemeResource SmallFontSize}" Margin="5,0,0,0" VerticalAlignment="Center"/></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"> <Label x:Name="TypeLabel" Grid.Column="2" Content="{Binding [ScheduleType]}" VerticalAlignment="Center"</p> <p style="margin-left: 20px"> Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}" /></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"> <StackPanel Orientation="Horizontal" Grid.Column="3" ></p> <p style="margin-left: 20px"> <Label x:Name="ProgramStart" Margin="0,0,0,0" Color="{ThemeResource TextColor}" VerticalAlignment="Center"</p> <p style="margin-left: 20px"> Content="{Binding [StartTime]}" FontSize="{ThemeResource SmallFontSize}"/></p> <p style="margin-left: 20px"> <Label Margin="5,0,5,0" Content="—" Color="{ThemeResource TextColor}" VerticalAlignment="Center" /></p> <p style="margin-left: 20px"> <Label x:Name="ProgramEnd" Content="{Binding [EndTime]}" VerticalAlignment="Center"</p> <p style="margin-left: 20px"> Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}"/></p> <p style="margin-left: 20px"> </StackPanel>[/CODE]</p> </p></blockquote><p></p>
[QUOTE="ge2301, post: 1158661, member: 145639"] First version of schedule screen: [ATTACH]171101[/ATTACH] The grid layout will come just to answer already potential questions in advance ;) Problem I have is that I can not get the EndTime of the schedule in SlimTVStyles.xaml. As you can see everything is working beside that. Looking into the Model I can also find the variable available: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/3e61bc4bfa9be0ddf9d2942d2141286e90f0a331/MediaPortal/Incubator/SlimTvClient/Models/SlimTvScheduleManagement.cs#L52[/URL] Any idea why this happens? In the footer it is available ... [INDENT][INDENT][CODE=XML] <StackPanel Orientation="Horizontal" Grid.Column="0" x:Name="Channel"> <Image x:Name="ChannelLogo" Height="40" Stretch="Uniform" Margin="5,2,5,2"> <Image.Source> <fanart:FanArtImageSource fanart:FanArtMediaType="ChannelTv" fanart:FanArtType="Banner" fanart:FanArtName="{Binding [ChannelName]}" fanart:MaxWidth="0" fanart:MaxHeight="0"/> </Image.Source> </Image> <Label x:Name="ChannelText" Scroll="Auto" Content="{Binding [ChannelName]}" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}" Margin="5" VerticalAlignment="Center"/> </StackPanel> <Label x:Name="ItemLabel" Grid.Column="1" Content="{Binding [Name]}" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}" Margin="5,0,0,0" VerticalAlignment="Center"/> <Label x:Name="TypeLabel" Grid.Column="2" Content="{Binding [ScheduleType]}" VerticalAlignment="Center" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}" /> <StackPanel Orientation="Horizontal" Grid.Column="3" > <Label x:Name="ProgramStart" Margin="0,0,0,0" Color="{ThemeResource TextColor}" VerticalAlignment="Center" Content="{Binding [StartTime]}" FontSize="{ThemeResource SmallFontSize}"/> <Label Margin="5,0,5,0" Content="—" Color="{ThemeResource TextColor}" VerticalAlignment="Center" /> <Label x:Name="ProgramEnd" Content="{Binding [EndTime]}" VerticalAlignment="Center" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallFontSize}"/> </StackPanel>[/CODE][/INDENT][/INDENT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Windows 10 Theme for BlueVision skin
Contact us
RSS
Top
Bottom