Posts: 22
Joined: Oct 2007
Reputation:
0
jt0451
Junior Member
Posts: 22
hello,
I need to create a dialog similar to ok, only bigger, with room for a full paragraph of text. Is there already a dialogue that I've overlooked? Is it possible to change to the ok dialogue or should I be creating a custom window?
I've been working on a plugin for myself, a learning experience. Hopefully it will turn into something usable by the community in a few weeks.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
We don't really have one I'm afraid, so you'll have to create your own.
It's a problem with just how flexible the skinning engine is - skinners can create dialogs that wouldn't be resizable in any meaningful manner (eg mc360's dialogs).
Cheers,
Jonathan
Posts: 1,331
Joined: Jan 2008
Reputation:
3
rwparris2
Team-XBMC Python Developer
Posts: 1,331
To make it easy on yourself, just copy the current ok dialog skin file from pm3 or pm3.hd, grab the media files from svn, then just resize it as you see fit.
IMO skinning is the hardest & least fun part (but thankfully others seem to like it!)
Note that I don't know if this will actually work as I've never done it, but that is how I would start.
Posts: 901
Joined: Feb 2005
Reputation:
3
I've had many instances where I couldve used a bigger OK Dialog.
just an idea;
What about one that's based around a scrollable TextBox, would that translate well to all skins ?
possibly as: ok = Dialog.bigok(header, text)
Posts: 22
Joined: Oct 2007
Reputation:
0
jt0451
Junior Member
Posts: 22
Thanks for all the replies gents. I'm a bit scared of skinning, it's the sort of thing you have to jump into the deep end with, t least it seams that way too me. Guess I don't have the right type of brain for it.
I've currently set it up as a full window with a bit of text in the center, not very aesthetically pleasing, but it does the job.
Posts: 22
Joined: Oct 2007
Reputation:
0
jt0451
Junior Member
Posts: 22
Thanks a lot BigBellyBilly.