-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Switch control on Windows ignores layout and align options #10107
Copy link
Copy link
Labels
area-controls-switchSwitchSwitcharea-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterp/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-switchSwitchSwitcharea-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterp/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Switch control do not reflect options for sizing and aligning. With latest MAUI/VS17.3/VS17.4 is just still not possible to set On/Off text, disable text, set width/height (even using MaximumWidthRequest/MaximumHeightRequest) in Windows.
Here is test layout (see attached source codes)
Row 3 - somehow Switch appeared behind the column edge
Rows 4 and 5 - attempt to limit height of the Switch control
Steps to Reproduce
Use attached source codes and run it on Windows 10/11
Link to public reproduction project repository
https://github.com/arkadym/MAUI-Bugs/tree/master/MauiApp-17.4-1
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10 and Windows 11
Did you find any workaround?
No response
Relevant log output
No response