Apollo One (1 Viewer)

wizard123

Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,569
    2,680
    Home Country
    United Kingdom United Kingdom
    Are you going to adjust the width of the dialog like in my screenshots ? what would you change to do that ?
    I can do a close button but will it be hidden if no mouse is active and just show if you move mouse or touch display?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Are you going to adjust the width of the dialog like in my screenshots ? what would you change to do that ?
    This would be pretty simple, just adding a Width="xxx" does it. One possible place is https://github.com/MediaPortal/Medi...ApolloOne/screens/master_dialog_bare.xaml#L63

    But you should consider that the dialog currently adapts its size depending on content. A better way would be something like "MinWidth" to allow further expanding if required.


    I can do a close button but will it be hidden if no mouse is active and just show if you move mouse or touch display?
    Yes, please create a button! And yes, this control is usually only shown when using mouse (touch wraps mouse actions, so it works same way).
    The existing "MouseModel" offers a property to bind visibility to:
    https://github.com/MediaPortal/Medi.../Titanium/screens/master_dialog_bare.xaml#L99
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,569
    2,680
    Home Country
    United Kingdom United Kingdom
    Thanks, yea there should definitely be minwidth to match the design because if they start looking all different sizes not matching it throws the design way off and starts looking like a mish mash.
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,569
    2,680
    Home Country
    United Kingdom United Kingdom
    I was just thinking rather than have a specific close button on dialog screens is it possible to exit by just clicking or pressing outside of it in the open space ? i guess essentially the black overlay would be the exit button.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I was just thinking rather than have a specific close button on dialog screens is it possible to exit by just clicking or pressing outside of it in the open space ? i guess essentially the black overlay would be the exit button.
    Just tested and it's possible! Done :D
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,569
    2,680
    Home Country
    United Kingdom United Kingdom
    Great that will keep it nice and clean much better ;)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Next step. Dialog width is set to a fixed value for now. The visible differences in size are caused by ScrollViewer / Scrollbars.
    @wizard123 should I take over the general scrollbar layout from Titanium? Or do you like to have other scrollbar styles?
    20141128-Dialog.jpg

    20141128-Menu.jpg

    I have to change the way how the skin react on mouse clicks to close dialogs, it makes menu items not responding to clicks (UserInputCapture seems to consume mouse in any case when used).

    With the non-square dialog you now better see, why current shader don't fit well: it is aspect ratio dependent.
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,569
    2,680
    Home Country
    United Kingdom United Kingdom
    I think the scroll bar style is shown in a previous screenshot but i will post another up when i get 5 mins. Is it possible to have the faded out covers at the bottom or top of thumb control to indicate more in the list ?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Is it possible to have the faded out covers at the bottom or top of thumb control to indicate more in the list ?
    At least not easy: only full items that fit into range will be shown and can be focused. We would probably need another kind of panel. Or we would need to use physical scrolling, but I think we cannot use Virtualization then.
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    The mouse click issue is solved, only one new condition :)

    To give a short overview about the available items in home screen, take a look (thanks @wizard123 for the new tiles (y)):
    20141128-Tiles1.jpg 20141128-Tiles2.jpg 20141128-Tiles3.jpg 20141128-Tiles4.jpg 20141128-Tiles5.jpg 20141128-Tiles7.jpg 20141128-Tiles8_loading.jpg
    You also see the new "dot animation" as busy indicator.
     

    Users who are viewing this thread

    Top Bottom