View Issue Details

IDProjectCategoryView StatusLast Update
0005321NoesisGUIStudiopublic2026-11-30 11:54
ReporterTahiri Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionno change required 
Product Version4.0 
Target Version4.0.2 
Summary0005321: Adding Color themes broke vector art inside Button
Description

Reproduction

  1. New project.
  2. In GlobalResources.xaml merge: <ResourceDictionary Source="/Noesis.GUI.Extensions;component/Theme/NoesisTheme.DarkBlue.xaml"/>
  3. Add a Button. With paths

Expected: Template renders as designed.
Actual: Artwork is misaligned, caps detach from the middle slice and proportions are wrong. Removing the theme merge fixes it completely.

Notes - Reproduced by copying the button from another project's Global Resources (which merges no theme), Copying artwork as a component asset than making a button from it in the target file, and by rebuilding it from scratch. - Only DarkBlue tested. -Color themes are not used for this button specifically

Attached Files
WithColorTheme.png (98,524 bytes)   
WithColorTheme.png (98,524 bytes)   
WithoutColorTheme.png (90,062 bytes)   
WithoutColorTheme.png (90,062 bytes)   
PlatformAny

Activities

sfernandez

sfernandez

2026-11-05 12:47

manager   ~0012871

Are the paths pasted as the Content of the Button or have you created your own template?
If you set the Button's Padding to 0, and HorizontalContentAlignment/VerticalContentAlignment to Stretch, are the vector paths rendering correctly?

A theme usually defines the default styles for each control:

  • Style: with a list of property setters (to define the default brushes, paddings, alignments, etc.)
  • Template: this is the visual representation of the control

So it is normal that if you change the control default style, the control content can be rendered in a different way, because it depends on how the template presents that content (margins, alignments, etc.).

Tahiri

Tahiri

2026-11-27 13:58

reporter   ~0012946

Hello,
Sorry for the late reply. You are right. I created a new style and changed the default style of the button and it fixed the issue.
Thank you for explanation.

sfernandez

sfernandez

2026-11-30 11:54

manager   ~0012948

Good, closing this as I think no changes are required.

Issue History

Date Modified Username Field Change
2026-11-05 11:18 Tahiri New Issue
2026-11-05 11:18 Tahiri File Added: WithColorTheme.png
2026-11-05 11:18 Tahiri File Added: WithoutColorTheme.png
2026-11-05 12:40 sfernandez Assigned To => sfernandez
2026-11-05 12:40 sfernandez Status new => assigned
2026-11-05 12:40 sfernandez Target Version => 4.0.2
2026-11-05 12:47 sfernandez Status assigned => feedback
2026-11-05 12:47 sfernandez Note Added: 0012871
2026-11-27 13:58 Tahiri Note Added: 0012946
2026-11-27 13:58 Tahiri Status feedback => assigned
2026-11-30 11:54 sfernandez Status assigned => resolved
2026-11-30 11:54 sfernandez Resolution open => no change required
2026-11-30 11:54 sfernandez Note Added: 0012948