Hi,
I have from time to time an annoying bug in my WebApps. All Labels are broken - look at this picture:
https://dl.dropboxusercontent.com/u/92235674/XOJO-Issue.png
I have a webcontainer with controls inside and add it to a palette-dialog.
If I only add the container to the “mainpage”, it’s allright! Look here:
https://dl.dropboxusercontent.com/u/92235674/XOJO-Issue-without-issue.png
This is my code:
to add to the palette:
[code]dim T as new Trger 'trger is the palette
T.Width = Dialog.Width 'dialog is the webcontainer
t.Height = Dialog.Height +20
Dialog.EmbedWithin(T, 0, 0, Dialog.Width, Dialog.Height)
T.Show
[/code]
to add only to the mainpage:
[code] dim A as new Bckgrnd 'a container, what is half-transparent in the background
A.Style = Background
A.EmbedWithin(main,0,0, main.Width, main.Height)
dim left as Integer = (main.Width - Dialog.Width) / 2
dim top as Integer = (main.Height - Dialog.Height) / 2
Dialog.EmbedWithin(main,left, Top, Dialog.Width, Dialog.Height)[/code]
How can I show the labels right?