MP Skin Editor & size of controls (1 Viewer)

kroko

Portal Pro
February 4, 2007
428
420
52
Itzehoe
Home Country
Germany Germany
Hi,

I have been working a bit on a skin editor to place buttons and so on via drap and drop.
So far it shows me all controls and I can view the properties using the right click of my mouse.

Maybe I can see not the forest inside the woods...
But where is the size of a control defined ? I searched in the GUI quiete a long time...
What is the default size of a "GUILabel", "GUIButton" and so on ?

:)

Regards
kroko
 

Attachments

  • editor.jpg
    editor.jpg
    110.4 KB

GF__74

Portal Member
June 8, 2008
16
1
Akl, NZ
Home Country
New Zealand New Zealand
Could you not create a skin that has a number of the elements (button, label, etc) that you need. The skin file should just include the minimum parameters that are required for each element.

Then setup the plugin to programattically change the label (or other element) to show the size, etc of the default generated element (e.g. button.label = button.width.tostring() + " " + button.height.tostring())

Just a thought if you could not get the information any otherway.

GF
 

kroko

Portal Pro
February 4, 2007
428
420
52
Itzehoe
Home Country
Germany Germany
Hi everybody,

hey thank you for your thoughts. Im still in the progress sorting ideas for the concept. Unfortunally it is possible to make "groups" which makes it even more complicated. And like SilentExcept said the references.xml defines the standard sizes colors and so on. Even if you dont name them in the skin. See the actual screenshot. Moving the mouse over a item displays the porperties and right click gives you the possibility to edit the item. Except groups right now. Its possible to move item and let them snap on the grid. Or just move in a certain step value. Load and Save is also likely implemented. Everything is a bit of anything.

Well I need to review everything before having a "good" soluting.

Regards
kroko
 

Attachments

  • skin2.jpg
    skin2.jpg
    132.4 KB

Users who are viewing this thread

Similar threads

It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
Replies
4
Views
2K
Small skin graphics cached ... big not always ... While you in window al changes for windows skin ignored, when you reenter to this windowm its load skin again with all changes ... :)
Small skin graphics cached ... big not always ... While you in window al changes for windows skin ignored, when you reenter to...
Hi Guys, I just recently completed a major cleanup and reorganization of my media library. My media library is stored on a 10 TB...
Replies
13
Views
928
Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they can't be seen. What I was hoping to do was create two new buttons in the menubutton style, (dialoglist mode), and alter the relevant OnlineVideos properties. As one is only number of items to display, and...
Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they...
Good evening everyone, I need some help with skinning buttons for Online Videos. What I am trying to achieve is move the buttons...
Replies
2
Views
657
Thanks for this new release of MP. The link on the presentation page of the new version is incorrect. It goes on the MP 1.24 thread.
Thanks for this new release of MP. The link on the presentation page of the new version is incorrect. It goes on the MP 1.24 thread.
We have just released MediaPortal 1.25 Final - Summer 2020 Edition Highlights of this release Bugfixes: [MP1-4966] - Update...
Replies
1
Views
3K
Many thanks for your fast response. Hopefully I'll get to work through these items in the next few days. Kind regards.
Many thanks for your fast response. Hopefully I'll get to work through these items in the next few days. Kind regards.
Hi, I'm new to the world of HTPC and Media Portal but I've decided to give it a go since my Pioneer DVR-LX60D PVR failed and is...
Replies
2
Views
775
Top Bottom