Sirius default font preferences not respected [message #1855570] |
Thu, 20 October 2022 14:10  |
Eclipse User |
|
|
|
Hello,
We have noticed that not all of the font preferences in Window -> Preferences -> Sirius -> Sirius Diagram -> Appearance are respected when the user presses the "Reset Style Properties to Default Values" button in the appearance section of the properties panel of say a node in a Sirius diagram.
It seems that only the font family is respected, and not the font size, color, or style (bold, etc.)
I have debugged the class ResetStylePropertiesToDefaultValuesCommand and have noticed that, for example for the font color eAttribute in the for loop on line 170, the if statement on line 171 is not entered.
It appears that the font color eAttribute is not contained in the set of eAttributes ViewQuery.CUSTOMIZABLE_GMF_EXCLUSIVE_STYLE_ATTRIBUTES.
Is there anything we could be doing wrong on our end? It seems to me to be a problem with the ViewQuery class but as usual we may be doing something wrong which would lead the font color eAttribute to not be present in the ViewQuery.CUSTOMIZABLE_GMF_EXCLUSIVE_STYLE_ATTRIBUTES set of eAttributes.
Thanks,
Louis
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08070 seconds