Dialog Pop Up
#1
Hey,

I'm trying to embed a Dialog Popup Window, which I can open from my Home Screen and by pressing one of the Label Buttons, different Scripts will be executed.
The only thing I cant get working is, that there is no backgroundcolor. I created a custom-data.xml which I could open with following content:

Code:

<window id="2345" type="dialog">
    <!--<defaultcontrol>1</defaultcontrol>-->
    <backgroundcolor>0</backgroundcolor>
    <allowoverlay>yes</allowoverlay>
    <coordinates>
      <left>100</left>
      <top>100</top>
    </coordinates>
    <controls>
        ...
    </controls>
</window>

When playing around with the backgroundcolor tag, there is no change on the dialog window background itself.

Then I tried the python version with the Dialog Class which would be nice because it looks like a "real" popup with a closing option in the corner. But here I didnt found a way to embed a label with an onclick attribute Big Grin

Code:

dialog = xbmcgui.Dialog()
ok = dialog.ok('Test', 'This is an test.')

Does somebody know, why I cant change the background color of the window?

Thanks in advance Smile!
Reply


Messages In This Thread
Dialog Pop Up - by oytschi - 2020-06-25, 11:37
RE: Dialog Pop Up - by pkscout - 2020-06-25, 18:02
RE: Dialog Pop Up - by roidy - 2020-06-25, 18:30
RE: Dialog Pop Up - by oytschi - 2020-06-26, 09:19
RE: Dialog Pop Up - by jurialmunkey - 2020-06-26, 13:11


Logout Mark Read Team Forum Stats Members Help
Dialog Pop Up0
This forum uses Lukasz Tkacz MyBB addons.