View Issue Details

IDProjectCategoryView StatusLast Update
0001949NoesisGUIUnitypublic2021-05-04 02:41
ReporterSybaris Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version3.1 
Summary0001949: Foreground property is not passed down the hierarchy
Description

Create a menu with a couple of menu items below it. On the menu tag itself set Foreground="Magenta". All menu items should inherit this foreground color but they don't.

Response from sfernandez:

The foreground brush is specified in the style for the MenuItem in Noesis theme. It is strange because in Blend if you create a Menu with some menu items the Foreground is inherited from the Menu as you said. But if you select the MenuItem and click on "Format > Edit Style > Edit a Copy..." it creates a style that defines a setter for the Foreground property and it is not inheriting the foreground from the Menu anymore. We used those copies as references to create our theme styles.

Steps To Reproduce

Create a menu with a couple of menu items below it. On the menu tag itself set Foreground="Magenta". All menu items should inherit this foreground color but they don't.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-03-24 10:21 Sybaris New Issue
2021-03-24 10:21 Sybaris Tag Attached: Unity
2021-03-25 17:03 jsantos Assigned To => sfernandez
2021-03-25 17:03 jsantos Status new => assigned
2021-03-25 17:03 jsantos Target Version => 3.0.12
2021-05-04 02:41 jsantos Target Version 3.0.12 => 3.0.13
2025-10-10 13:29 jsantos Category Unity3D => Unity