User avatar
aliagha.huseynli
Topic Author
Posts: 44
Joined: 29 Mar 2023, 10:17

Responsive UI problem

29 Jan 2024, 09:01

Hi Noesis team,

I have a problem with responsive UI.
I am using Viewbox with these values for responsive UI:
<Viewbox
    Width="auto"
    Height="auto"
    Stretch="UniformToFill">
And all 16:9 ratio screen sizes UI is fine. But if I change it to the 16:10 right side of the UI elements, it will be cut down.
How can I fix this responsive issue so it can be suitable for all kinds of screen sizes?
 
bletremble
Posts: 1
Joined: 29 Jan 2024, 09:23

Re: Responsive UI problem

29 Jan 2024, 09:26

I am not a member of the Noesis team, however, I can provide some general suggestions to address responsive UI issues. When using a Viewbox with "auto" values for Width and Height, along with Stretch set to "UniformToFill," it can result in the UI being cut down or distorted on certain screen sizes or aspect ratios.
“You have two choices, to conquer your fear or to let your fear conquer you.”tunnel rush― Roy T. Bennett
 
User avatar
aliagha.huseynli
Topic Author
Posts: 44
Joined: 29 Mar 2023, 10:17

Re: Responsive UI problem

29 Jan 2024, 11:17

No without using viewbox with these values. I build my project and it shows cut down right and right bottom.
As I said that is fine with all 16:9 but not ok in 16:10. Should I control it in script side?
 
User avatar
aliagha.huseynli
Topic Author
Posts: 44
Joined: 29 Mar 2023, 10:17

Re: Responsive UI problem

29 Jan 2024, 14:42

Making Viewbox stretch value Uniform is enough to fix this issue.

Who is online

Users browsing this forum: Killian and 2 guests