The top level SimpleFont behaves as one would expect in the Indicators dialog. It is cosmetically aligned, and changing any of its values activates the In Apply button. Good.
The SimpleFont in the expandable property behaves less well. The issues are
- When you open the expandable property most simple properties, such as a bool, are indented. Good. The SimpleFont property is not indented. Bad. I don't know what I could be doing to cause that. Please either help me understand, or if this is an NT bug then report it.
- Changing the bool activates the Apply button. Good. Changing any of the SImpleFont values does not activate the Apply button. Bad. I do not know what I could be doing to cause this. Perhaps I have a missing attribute somewhere? I do have [RefreshProperties(RefreshProperties.Paint)] set on the SimpleFont. I have also tried RefreshProperties.All. Does the expandable property need to actively do something to make this work right? Please either help me understand, or if this is an NT bug then report it.
- FWIW: changing values of the SimpleFont updates the SimpleFont's ToString() display with either of them, so the fact of the change is getting propagated at least that far.
The indent issue is obviously just cosmetic, but it is quite noticeable in the GUI. Not activating the Apply button when that should happen is more annoying.
I'm attaching a small demo indicator that shows these issues, in case anyone wants to take a look at the code, attribute usage, etc, or build it and see the issues for themselves.
--EV
Comment