Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLayout + TextBlock responsivity issue #858

Open
iurycarlos opened this issue Sep 25, 2023 · 3 comments
Open

AutoLayout + TextBlock responsivity issue #858

iurycarlos opened this issue Sep 25, 2023 · 3 comments
Labels
kind/bug Something isn't working

Comments

@iurycarlos
Copy link
Contributor

iurycarlos commented Sep 25, 2023

Current behavior

Besides it is a very specific scenario, I think it could lead to other different issues.

When an AutoLayout has a child with fixed dimensions and other child which doesn't, if we have a textblock inside the stretched, it will increase the conteiner's height more then needed if we change the width of the screen.

Best way to understand is to open the following link and to decrease the preview space, adjusting the divider.

https://playgroundcanary.z19.web.core.windows.net/#e37caf08

before:
image

after:
image

Expected behavior

It should generate the proper size when streched.

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

Uno 5.0.0-dev.3200

Uno.Toolkit.WinUI.Material 5.0.0-dev.108

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@iurycarlos iurycarlos added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Sep 25, 2023
@jeromelaban jeromelaban removed the triage/untriaged Indicates an issue requires triaging or verification. label Sep 26, 2023
@jeromelaban jeromelaban changed the title AutLayout + TextBlock responsivity issue AutoLayout + TextBlock responsivity issue Sep 26, 2023
@jeromelaban
Copy link
Member

@Robert-Louis I'm not sure about this issue, is it specific to the AutoLayout control?

@iurycarlos
Copy link
Contributor Author

iurycarlos commented Sep 27, 2023

More testing:

In figma plugin we have:

image

And using playground (a little bit different since we can't reproduce exactly the same screen there):

https://playgroundcanary.z19.web.core.windows.net/#eec14f8f

@Robert-Louis
Copy link
Contributor

It will be fixed by this pr

#857

@jeromelaban jeromelaban transferred this issue from unoplatform/uno Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@jeromelaban @iurycarlos @Robert-Louis and others