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 » Sat Mar 30, 2019 10:48 pm

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?
0 x

sercero
Bronze Sponsor
Bronze Sponsor
Posts: 19
Joined: Sun Jan 18, 2015 4:20 pm
x 2

Re: MyGui overlapping widgets issue.

Post by sercero » Mon Apr 01, 2019 3:14 pm

Are you using Overlapped layers?
0 x

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

Re: MyGui overlapping widgets issue.

Post by Jay721 » Mon Apr 01, 2019 4:04 pm

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.
0 x

sercero
Bronze Sponsor
Bronze Sponsor
Posts: 19
Joined: Sun Jan 18, 2015 4:20 pm
x 2

Re: MyGui overlapping widgets issue.

Post by sercero » Sun Apr 07, 2019 1:41 am

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.
0 x

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

Re: MyGui overlapping widgets issue.

Post by Jay721 » Mon Apr 08, 2019 5:42 pm

Hi, both widgets are non-transparent.
0 x

Post Reply