Atozed Forums
Invisible region occupying space on startup - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Invisible region occupying space on startup (/thread-3580.html)



Invisible region occupying space on startup - PaulWeem - 10-20-2023

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


RE: Invisible region occupying space on startup - Alexandre Machado - 10-23-2023

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).


RE: Invisible region occupying space on startup - Alexandre Machado - 10-23-2023

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


RE: Invisible region occupying space on startup - PaulWeem - 10-25-2023

Hi Alexandre,

Thank you for looking into this.

Any progress?

Cheers, Paul


RE: Invisible region occupying space on startup - PaulWeem - 11-28-2023

Hi Alex,

Is this still on your To Do list?