Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
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.
Posts: 109
Joined: Jan 2005
Reputation:
10
lolol
Senior Member
Posts: 109
hi!
use windowdialog instead og window class. if the background is transparent, these areas will show through the window behind...
cheers lolol
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
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.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
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