wonder Expert Licensed User Longtime User Aug 18, 2016 #1 Bonjour!! Here's the situation, if I have a regular button / label / textbox at (for example) the center on the screen and non-visible LibGDX surface below, the behavior is as follows: Code: Copy Sub myButton_Click 'Toggle LibGDX visibility on and off lGdxSurface.Visible = (lGdxSurface.Visible == False) 'Display the button on top myButton.BringToFront End Sub With a non-transparent view lGdxSurface.InitializeView2(Config, "LG") - No problem, it behaves as expected With a transparent view lGdxSurface.InitializeTransparentView(Config, "LG") - The button will stay behind, BringToFront just doesn't work. Additional notes: - I tried myButton.BringToFront with CallSubUI as well, no success. - Initializing in a certain order (libGDX before Button) doesn't work either, plus even if it did, it's not the solution I'm looking for. Attached, the best solution I could come-up with. Attachments BlurEverythingBelow.zip BlurEverythingBelow.zip 15 KB · Views: 632 Last edited: Aug 20, 2016
Bonjour!! Here's the situation, if I have a regular button / label / textbox at (for example) the center on the screen and non-visible LibGDX surface below, the behavior is as follows: Code: Copy Sub myButton_Click 'Toggle LibGDX visibility on and off lGdxSurface.Visible = (lGdxSurface.Visible == False) 'Display the button on top myButton.BringToFront End Sub With a non-transparent view lGdxSurface.InitializeView2(Config, "LG") - No problem, it behaves as expected With a transparent view lGdxSurface.InitializeTransparentView(Config, "LG") - The button will stay behind, BringToFront just doesn't work. Additional notes: - I tried myButton.BringToFront with CallSubUI as well, no success. - Initializing in a certain order (libGDX before Button) doesn't work either, plus even if it did, it's not the solution I'm looking for. Attached, the best solution I could come-up with.