"Rising" Skin for MP2 [WiP] (4 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #21
    Hi,
    I think the current version is not the final one. What we
    would need is some (horizontal) listview that has fixed row headers.

    But because we do not have this, I built a vertical listview (channels) with a nested horizontal stackpanel for the programs in each row.


    Sent from my GT-I9000 using Tapatalk
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    Would it be possible for you to point me to the used xaml files? I've already searched in the git repo but haven't found a thing :/
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #23
    AW: "Rising" Skin for MP2 [WiP]

    the screen itself is this one https://github.com/MediaPortal/Medi...n/default/screens/SlimTvClient-fullguide.xaml
    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}">...

    it then uses the "MultiProgramGuideContainerStyle" Style coming from the theme resource:
    https://github.com/MediaPortal/Medi...fault/themes/default/styles/SlimTvStyles.xaml
    Code:
    <!-- MultiProgramGuideContainerStyle is the "top level" style used in SlimTvClient-fullguide -->
    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}">

    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 :)
     

    Users who are viewing this thread

    Similar threads

    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    3K
    Sorry, I mixed something :sleep: works now - Thanks!
    Sorry, I mixed something :sleep: works now - Thanks!
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    13
    Views
    6K
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to make this long winded or anything, but just to point out over the @15 years I've overall donated several hundred quid. And I begrduge NONE of it, not a penny - I do wish MP well - 100%. It is an awesome...
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to...
    ONGGGG term MP user (and donator - why wouldn't you?) and leaving somewhat reluctantly. Few reasons, some that just seem...
    Replies
    4
    Views
    3K
    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    10K
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
    Replies
    1
    Views
    2K
    Top Bottom