MyGui overlapping widgets issue.

Problems building or running the engine, queries about how to use features etc.
Post Reply
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

MyGui overlapping widgets issue.

Post 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?

User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 64
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 13

Re: MyGui overlapping widgets issue.

Post by sercero »

Are you using Overlapped layers?

Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: MyGui overlapping widgets issue.

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

User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 64
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 13

Re: MyGui overlapping widgets issue.

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

Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: MyGui overlapping widgets issue.

Post by Jay721 »

Hi, both widgets are non-transparent.

Post Reply