How To make dialog pop-up with controls?
#1
i'm trying to figure out how to have a pop-up over my main window. this will have buttoncontrols and then dissapear once the button is selected.

i have this working with a new window but it fills the screen instead of just displaying in the middle.

thanks!
I'm not an expert but I play one at work.
Reply
#2
hi!

use windowdialog instead og window class. if the background is transparent, these areas will show through the window behind...

cheers lolol
Reply
#3
thanks!

any easy way to center the entire dialog box and have the text labels and controls also align properly?
I'm not an expert but I play one at work.
Reply
#4
just specify the posx posy coordinates based on screenresolution and dialog background width/height - pretty easy assuming you know these.

there is a routine in the xbmc guidialog class for this, but it's probably not exposed to python.

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
hi

here is explained how you make your script compatible to other res's: http://www.xboxmediaplayer.de/cgi-bin....t=13895

cheers lolol
Reply

Logout Mark Read Team Forum Stats Members Help
How To make dialog pop-up with controls?0