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

Label text overlap in HorizontalStackLayout #22130

Open
MarMarIV opened this issue Apr 30, 2024 · 2 comments
Open

Label text overlap in HorizontalStackLayout #22130

MarMarIV opened this issue Apr 30, 2024 · 2 comments
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@MarMarIV
Copy link

Description

Label text is overlaping in HorizontalStackLayout

image

Steps to Reproduce

  1. Clone repo
  2. Run app

Link to public reproduction project repository

https://github.com/MarMarIV/MAUI-Issue-16658

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@MarMarIV MarMarIV added the t/bug Something isn't working label Apr 30, 2024
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 30, 2024
@Zhanglirong-Winnie
Copy link
Collaborator

Verified this issue with Visual Studio 17.10 Preview 5 (8.0.21&8.0.14&8.0.3). Can repro on android platform with sample project.

@MarMarIV
Copy link
Author

MarMarIV commented Apr 30, 2024

This (similar) problem has already been mentioned under #16658 (comment)

According to the attached screen shot you can see the parent "blue" element which is aligned on the page fine

However, the "red" element overlaps the parent

I don't think this is the correct behavior for HorizontalStackLayout

If I wanted to achieve this, I would use AbsoluteLayout/FlexLayout

@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Apr 30, 2024
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants