Bugs and improvements (incl. themes) | Page 3

Discussion in 'BlueVision' started by ge2301, September 29, 2015.

  1. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,870
    Likes Received:
    2,147
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,619 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    As I'm planing a new theme for BV, based on the Win10 theme but with not that abstract graphics and some more transparency effects. And I would like to change positions and sizes of some elements. E.g. I would like to have the main menu on bottom of the screen below the footer content area. First I wanted it named "Windows 7 Theme" ;) , but I think I will find a different name for it.

    I would need (like) to exchange the backdrop image depending on which group of the main menu is shown. Can this be achieved without touching the C# code?

    At the moment I'm searching for graphics and backdrops to use. The xaml coding (it's very optimistic to think that I'm ever be able to do so ;) ) I want to start once the Win10 theme is finished so I don't need to update my theme that often...


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,228
    Likes Received:
    1,570
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,361 / 2
    Home Country:
    Germany Germany
    To make it short. Yes, it's possible :)
     
  4. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,870
    Likes Received:
    2,147
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,619 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Cool.:cool:
    When I need it, I definitely will ask you how...:whistle:

    Yesterday I've started to fiddle with the xaml a bit. As soon as I can show a very first result I will do. Only thing I've completed so far is the splash screen. :D
     
  5. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,228
    Likes Received:
    1,570
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,361 / 2
    Home Country:
    Germany Germany
    @morpheus_xx

    I found the reason of the overlapping help texts. I was a change you asked me for, but it does not work. (Your change in the model is ok, but my change is not working)
    Code (XML):
    1.  
    2.   <Label.Visibility>
    3.   <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{} {0} &amp; {1}">
    4.   <Binding Source="{StaticResource MenuModel}" Path="IsHomeScreen"/>
    5.   <Binding Source="{StaticResource MenuModel}" Path="!IsHome"/>
    6.   </MultiBinding>
    7.   </Label.Visibility>
    8.   </Label>
    9.  
    I think the AND must be an OR, but there is no OR operator in xaml according to MSDN overviews.
    Please tell me how to change it.

    thanks
     
  6. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,069
    Likes Received:
    4,762
    Ratings:
    +6,818 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I think the expression is right, but the "Visibility" property is not type "bool". You need to use "IsVisible", this should fix the issue.
     
  7. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,228
    Likes Received:
    1,570
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,361 / 2
    Home Country:
    Germany Germany
    Does unfortunately also not work. Same result.
     
  8. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,069
    Likes Received:
    4,762
    Ratings:
    +6,818 / 11
    Home Country:
    Germany Germany
    Show System Specs
    • Like Like x 1
  9. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,228
    Likes Received:
    1,570
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,361 / 2
    Home Country:
    Germany Germany
    Stupid me. Because the &amp; is already long and strange enough, I didn't consider it. It's also == for equal etc.
    Now it works, thanks for the important hint (y)
     
    • Like Like x 1
  10. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,870
    Likes Received:
    2,147
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,619 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    I'm experimenting with transparent menu- tile images in PNG format but I can't get them to work properly. If I leave the file extension to .png the graphics are not recognised. If I rename them to .jpg the gfx is shown, but without transparency. A blue background is shown instead.

    Is there a way to make this work or has the code behind to be changed somehow for this to work?
     
  11. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,228
    Likes Received:
    1,570
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,361 / 2
    Home Country:
    Germany Germany
    Renaming to jpg works. The background come from the homemenu button style. Search for a blue rectangle or border. You can easily find the position by try and error ( changing "#xxxxxxxx" to "#00000000")
     
    • Thank You! Thank You! x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!