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

Visibility Issues: Incomplete Label Display on macOS and IOS When Padding is Applied #19007

Open
NirmalKumarYuvaraj opened this issue Nov 24, 2023 · 1 comment · May be fixed by #28081
Open
Labels
area-controls-label Label, Span partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@NirmalKumarYuvaraj
Copy link
Contributor

NirmalKumarYuvaraj commented Nov 24, 2023

Description

In macOS and iOS, a visibility issue arises when a label fails to display fully when padding is applied to it. The label is completely visible when the padding is removed. Additionally, top and bottom padding occupy more space than mentioned. I have attached images for your reference.

Code Snippet

 <Grid RowDefinitions="Auto" ColumnDefinitions="100" >
     <Label Background="Red"
             Text=".NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating mobile and desktop apps with C# and XAML."
                Padding="20"
                />
 </Grid>

Output

  • With Padding

With Padding

  • Without Padding

Without Padding

Steps to Reproduce

  1. Create a MAUI App.
  2. Establish a Grid Layout featuring ColumnDefinitions set to 100 and RowDefinitions set to Auto.
  3. Embed a Label within the Grid Layout, assigning it a lengthy text value. Apply a padding of 20 along with a background.
  4. Observe that the text may not be entirely visible due to the specified parameters.

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@NirmalKumarYuvaraj NirmalKumarYuvaraj added the t/bug Something isn't working label Nov 24, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Nov 24, 2023
@PureWeen PureWeen added this to the Backlog milestone Nov 27, 2023
@ghost
Copy link

ghost commented Nov 27, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 25, 2025
@Dhivya-SF4094 Dhivya-SF4094 linked a pull request Feb 27, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-label Label, Span partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants