Page 1 of 1

MyGui overlapping widgets issue.

Posted: Sat Mar 30, 2019 10:48 pm
by Jay721
Ogre Version: 2.1
Operating System: Windows
Render System: DX11

I’ve noticed an issue with MyGui. Simply put, having a EditBox widget that contains text will not behave as expected when another widget is overlapping it.

The text from the edit box widget is still rendered on top of the overlapping widget. I’m unable to provide a screenshot example at the moment, just curious if anyone has had this issue and if there’s anyway to fix?

Re: MyGui overlapping widgets issue.

Posted: Mon Apr 01, 2019 3:14 pm
by sercero
Are you using Overlapped layers?

Re: MyGui overlapping widgets issue.

Posted: Mon Apr 01, 2019 4:04 pm
by Jay721
I've tried both OverlappedLayer and SharedLayer.

Here's a gif demonstrating a Window moving over a EditBox.
Text will also appear "above" transparent elements.

Image

Just realised this only happens when the window and edit box are descendants of another window.
If they aren't made descendants of another widget, they behave as expected.

Re: MyGui overlapping widgets issue.

Posted: Sun Apr 07, 2019 1:41 am
by sercero
What happens if you set the window to be non-transparent?

From the GIF I cannot tell if it is a transparency issue or something else, because the fucsia text is very aggressive.

I am no expert in MyGUI, just a regular user.

Re: MyGui overlapping widgets issue.

Posted: Mon Apr 08, 2019 5:42 pm
by Jay721
Hi, both widgets are non-transparent.