Skip to content

[Windows] Fix the control overlap issue in the AppThemeFeatureMatrix sample on candidate#34697

Merged
kubaflo merged 3 commits intodotnet:inflight/candidatefrom
Vignesh-SF3580:fix-WindowsSwitch
Mar 27, 2026
Merged

[Windows] Fix the control overlap issue in the AppThemeFeatureMatrix sample on candidate#34697
kubaflo merged 3 commits intodotnet:inflight/candidatefrom
Vignesh-SF3580:fix-WindowsSwitch

Conversation

@Vignesh-SF3580
Copy link
Copy Markdown
Contributor

Details

PR #30538 fixes the Windows Switch control width issue, where it previously reserved unnecessary space inherited from WinUI’s ToggleSwitch default style.
Due to this change, we need to re-save the existing switch images.
Also the reduced Switch width, the grid columns in AppThemePage are rebalanced, causing the RadioButton (which has Grid.ColumnSpan="2") to overlap the Editor control on the right side.

Description of Change:

  • Before: RadioButton had Grid.ColumnSpan="2", causing it to span both columns and overlap the Editor in Column 1 of the same row.

  • After: RadioButton is constrained to Grid.Column="0" only, so the Editor in Column 1 remains in its own cell without overlap.

Failures caused by these PRs:

#30538 - The Switch previously occupied the full width; now it takes only the required space.
#30089 - The Slider previously appeared without a background color, now the background color is applied correctly.

Screenshots

Before Issue Fix After Issue Fix

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Mar 27, 2026
@Vignesh-SF3580 Vignesh-SF3580 added the community ✨ Community Contribution label Mar 27, 2026
@sheiksyedm
Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@sheiksyedm sheiksyedm added area-testing Unit tests, device tests test-flight labels Mar 27, 2026
@sheiksyedm sheiksyedm marked this pull request as ready for review March 27, 2026 17:27
@kubaflo kubaflo merged commit 188d93e into dotnet:inflight/candidate Mar 27, 2026
4 of 12 checks passed
sheiksyedm pushed a commit that referenced this pull request Apr 4, 2026
…sample on candidate (#34697)

### Details

PR #30538 fixes the Windows Switch control width issue, where it
previously reserved unnecessary space inherited from WinUI’s
ToggleSwitch default style.
Due to this change, we need to re-save the existing switch images.
Also the reduced Switch width, the grid columns in AppThemePage are
rebalanced, causing the RadioButton (which has Grid.ColumnSpan="2") to
overlap the Editor control on the right side.

### Description of Change:

- Before: RadioButton had Grid.ColumnSpan="2", causing it to span both
columns and overlap the Editor in Column 1 of the same row.

- After: RadioButton is constrained to Grid.Column="0" only, so the
Editor in Column 1 remains in its own cell without overlap.

### Failures caused by these PRs: 
#30538 - The Switch previously
occupied the full width; now it takes only the required space.
#30089 - The Slider previously
appeared without a background color, now the background color is applied
correctly.

### Screenshots

| Before Issue Fix | After Issue Fix |
|----------|----------|
| <img width="300" height="600"
src="https://github.com/user-attachments/assets/ac70ad29-f055-4870-b9b2-5a381f601254">
| <img width="300" height="600"
src="https://github.com/user-attachments/assets/a06482bf-c0de-4c27-87be-d9d00a503723">
|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration test-flight

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants