[Approved] rightalign tag for Image control (1 Viewer)

Migue

Retired Team Member
  • Premium Supporter
  • January 27, 2006
    381
    305
    Florida
    Similar to the <centered> tag but for right-alignment instead.

    EDIT: New patch attached using align tag as other controls do.
    2nd EDIT: Forgot to update summary description for property in the patch.
     

    Attachments

    • align tag for image control(using 1.1.1 tag).patch
      2.8 KB

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    Hi Migue,

    We have been discussing your patch and we have agreed that it would be preferable to have one tag named <align> with values left, center, right (left being the default) so that it is consistent with the rest of the controls. Also since only one alignment can be applied at any time the <centered> should internally be mapped to <align>center</align> (essentially it should be a property get/set pair that should get/set its value from/to the align property). We do not want to remove the <centered> tag for backward compatibility (perhaps in a later version we will)

    Do you think you could provide a patch for that?

    Thanks in advance

    Arion
     

    Migue

    Retired Team Member
  • Premium Supporter
  • January 27, 2006
    381
    305
    Florida
    Yes this was my idea originally except I didn't thought of remapping centered and so I did it the way I did to prevent existing skin breaking.
    I'll get working on the new patch now.
     

    Users who are viewing this thread

    Similar threads

    • 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
    5K
    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
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    2K
    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
    2K
    Sums up the problem I am having. Sorry if I wasn't clear. No, #selectedthumb is not preserved on going to the next window. That's exactly what I am trying to solve. An example is moving from mytvrecordedtv.xml to mytvRecordedInfo. The variable changes from a screen grab thumbnail from the video file to a channel logo during...
    Sums up the problem I am having. Sorry if I wasn't clear. No, #selectedthumb is not preserved on going to the next window. That's...
    Good evening, I have a basic understanding of using skin.setstring and am able to set a skin property when a control gets focus...
    Replies
    2
    Views
    2K
    Top Bottom