NoesisGUI Resizing Issue
Hey guys. I am getting more familar with Noesis and am following some guides but I am still running into an issue where my UI doesn't seem to be resizing. Unity throws an error regarding trial licenses and I'm not sure if this has an impact on how NoesisGUI reloads information or not (since I cannot seem to validate my trial key). Since there is no hot reloading available yet (I'm using Visual Studio/Blend 2022), I am having trouble seeing my UI resize, it doesn't display properly on minimised/windowed mode and on maximised play, it is not aligned to the top right all the way. I have attached some images below to illustrate the issues but would appreciate any feedback regarding the placement and resizing of the UI.
Images:
https://imgur.com/a/nMY4sy7
By the way, when I open my UI in Blend, I do not see the data panel to create sample data (this is required to follow along with the minimap tutorial), is there another way of accessing it or perhaps coding that functionality?
Thanks in advance
Images:
https://imgur.com/a/nMY4sy7
By the way, when I open my UI in Blend, I do not see the data panel to create sample data (this is required to follow along with the minimap tutorial), is there another way of accessing it or perhaps coding that functionality?
Thanks in advance
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: NoesisGUI Resizing Issue
Hi, are you specifying a fixed Width/Height in the root of your XAML (the UserControl)? If you do that, then it won't resize to available size of the Unity game viewport.I am having trouble seeing my UI resize, it doesn't display properly on minimised/windowed mode and on maximised play, it is not aligned to the top right all the way
Visual Studio Blend only supports generating sample data for projects that target .NET Framework. It's not supported for UWP projects or projects that target .NET Core (https://github.com/MicrosoftDocs/visual ... -572805244).in Blend, I do not see the data panel to create sample data
But even with .NET Framework projects sometimes it fails to show the Data tab. In those cases what works for me is closing the file.xaml tab in Blend, open it again, and if still doesn't show, switch between Designer and XAML views in the bottom of the viewport.
Re: NoesisGUI Resizing Issue
Thank you, setting the width and height of my root element to "auto" solved my issue
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: NoesisGUI Resizing Issue
Marking this as solved then.
Who is online
Users browsing this forum: No registered users and 6 guests