Jump to content

Button dis-connected


JCPalmer
 Share

Recommended Posts

I have made a form for inputting parameters for webm audio/video recordings.  I have broken out the top level StackPanel apart from the full screen AdvancedDynamicTexture.  When either the "Rehearse" or "Record" buttons are pressed, you cannot still have the form visible or this happens:

424647677_side-by-sideUHD.thumb.jpg.b9b04edcd257526bf1e97e3d78ece7d3.jpg

Clearly not acceptable to be in the video itself, & a little annoying for rehearsing.  The only way I found to temporarily get rid of it was to dispose the texture.  After the scene is done, I took the StackPanel and put it in a new AdvancedDynamicTexture, just 2 lines.  The buttons are connected to NOTHING now though.

Using a Mesh for the texture will allow it to be hidden, but then I need a second camera in ortho mode & setup layer masks.  Is there any way to avoid going that route?

 

Link to comment
Share on other sites

@dad72, always good to have a number of ways of equal effort.  From a tie breaker standpoint, the code reads slightly more straight forward by setting the visibility of the top level StackPanel..  Though I suppose the downside of that is you have to have a top level control.  I definitely need one anyway, since I need vertical stacking with some horizontal.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...