WebApp bug?

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?

no ideas?
:frowning:

[quote=68475:@Lars Lehmann]

[code]dim T as new Träger 'träger 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][/quote]
It looks to me that you’re embedding a palette dialog within another dialog. If that’s the case, there are some known issues with how styles are applied in multiple depths of WebViews (WebDialogs, WebContainers, WebPages).

Hi Greg,

no, I’m embedding a Containercontrol (named ‘Dialog’) to a palette.

Is there a chance to solve this problem?

Thanks!