Skip to content

When minimumheightrequest is set on label, the label is not vertically centered in Windows #20208

@last-Programmer

Description

@last-Programmer

Description

I added a flexlayout with 50 units of height and added a label child with minimumheightrequest with 39 units and verticaloptions is set to center and when i run the project the label is not vertically centered in the flexlayout

Steps to Reproduce

I added a flexlayout with 50 units as height and added a label child with minimumheightrequest with 39 units and verticaloptions is set to center and when i run the project the label is not vertically centered in the flexlayout

Link to public reproduction project repository

https://github.com/dotnet/maui/files/14076234/MauiAppMInHeightBug.zip

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

Windows

Affected platform versions

No response

Did you find any workaround?

No Workaround for this bug i am using

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-labelLabel, Spanarea-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowst/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions