Page 1 of 1

Responsive UI problem

Posted: 29 Jan 2024, 09:01
by aliagha.huseynli
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?

Re: Responsive UI problem

Posted: 29 Jan 2024, 09:26
by bletremble
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.

Re: Responsive UI problem

Posted: 29 Jan 2024, 11:17
by aliagha.huseynli
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?

Re: Responsive UI problem

Posted: 29 Jan 2024, 14:42
by aliagha.huseynli
Making Viewbox stretch value Uniform is enough to fix this issue.