Atozed Forums

Full Version: Invisible region occupying space on startup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm having an issue with invisible regions at first start of the app.
One region is invisible at startup, but when running the app, the space occupied by this invisible region is still reserved.
After toggling visibility of this region to True and False again, the occupied space is gone and other regions are resized accordingly.

See the simple example attached.

Is there something I'm overseeing, or is this a bug?

Cheers, Paul
Hi Paul,

I'll test your application, but at first seems that it's just a matter of setting the correct properties.

StyleRenderOptions.UseDisplay = True

should fix that. When UseDisplay is set, it will use "display" (does not occupy any space in the page when invisible) attribute instead of "visibility" (does occupy space in the pace when invisible).
Hum... after testing it... I still think that setting display = true should fix it, but it doesn't.

I'll need to test it a little more to understand what's going on.

I'll keep you posted.

Cheers
Hi Alexandre,

Thank you for looking into this.

Any progress?

Cheers, Paul
Hi Alex,

Is this still on your To Do list?