joshmond
Topic Author
Posts: 38
Joined: 02 Jun 2018, 00:10

NoesisGUI Resizing Issue

18 Oct 2022, 13:12

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
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: NoesisGUI Resizing Issue

20 Oct 2022, 10:38

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
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.
in Blend, I do not see the data panel to create sample data
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).

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.
 
joshmond
Topic Author
Posts: 38
Joined: 02 Jun 2018, 00:10

Re: NoesisGUI Resizing Issue

20 Oct 2022, 16:04

Thank you, setting the width and height of my root element to "auto" solved my issue
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: NoesisGUI Resizing Issue

24 Oct 2022, 11:48

Marking this as solved then.

Who is online

Users browsing this forum: No registered users and 6 guests