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
"Rising" Skin for MP2 [WiP]
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="morpheus_xx" data-source="post: 762788" data-attributes="member: 48495"><p><strong>AW: "Rising" Skin for MP2 [WiP]</strong></p><p></p><p>the screen itself is this one <a href="https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/screens/SlimTvClient-fullguide.xaml" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/screens/SlimTvClient-fullguide.xaml</a></p><p>[CODE]</p><p><ListView Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2"</p><p> Margin="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"</p><p> Style="{ThemeResource MultiProgramGuideContainerStyle}"</p><p> ItemsSource="{Binding Path=ChannelList}"</p><p> SelectionChanged="{CommandStencil UpdateProgram}">...</p><p>[/CODE]</p><p></p><p>it then uses the "MultiProgramGuideContainerStyle" Style coming from the theme resource:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/themes/default/styles/SlimTvStyles.xaml" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/themes/default/styles/SlimTvStyles.xaml</a></p><p>[CODE]</p><p><!-- MultiProgramGuideContainerStyle is the "top level" style used in SlimTvClient-fullguide --></p><p>[/CODE]</p><p>Then please refer to the named templates in this style, they define the "rows" and the nested programs listing per row:</p><p>[CODE]</p><p> <!--</p><p> DataTemplate for MultiChannel Program Guide</p><p> It defines a Row containing a Button with Channel name as "Row Header" and the</p><p> horizontal Programs ListView based on MultiProgramGuideListViewStyle.</p><p> --></p><p> <DataTemplate x:Key="GuideChannelListDataTemplate" DataType="{x:Type collections:ListItem}"></p><p>[/CODE]</p><p></p><p>Hopes this helps. MP2 does use quite many styles depending on other ones. this makes it a bit more complicated first, but later you can change major things on few places to achieve something very different <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 762788, member: 48495"] [b]AW: "Rising" Skin for MP2 [WiP][/b] the screen itself is this one [url]https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/screens/SlimTvClient-fullguide.xaml[/url] [CODE] <ListView Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" Margin="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{ThemeResource MultiProgramGuideContainerStyle}" ItemsSource="{Binding Path=ChannelList}" SelectionChanged="{CommandStencil UpdateProgram}">... [/CODE] it then uses the "MultiProgramGuideContainerStyle" Style coming from the theme resource: [url]https://github.com/MediaPortal/MediaPortal-2/blob/b90ea79ef6a4ccdc33178828296c6ce00d3f28e1/MediaPortal/Incubator/SlimTvClient/Skin/default/themes/default/styles/SlimTvStyles.xaml[/url] [CODE] <!-- MultiProgramGuideContainerStyle is the "top level" style used in SlimTvClient-fullguide --> [/CODE] Then please refer to the named templates in this style, they define the "rows" and the nested programs listing per row: [CODE] <!-- DataTemplate for MultiChannel Program Guide It defines a Row containing a Button with Channel name as "Row Header" and the horizontal Programs ListView based on MultiProgramGuideListViewStyle. --> <DataTemplate x:Key="GuideChannelListDataTemplate" DataType="{x:Type collections:ListItem}"> [/CODE] Hopes this helps. MP2 does use quite many styles depending on other ones. this makes it a bit more complicated first, but later you can change major things on few places to achieve something very different :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
"Rising" Skin for MP2 [WiP]
Contact us
RSS
Top
Bottom