1. Aart Onkenhout
  2. Beta Testing
  3. Sunday, 16 February 2020 12:37 PM UTC

Is it possible to change something else but the font color within the theme.json, for example the font size, font weight? Within the theme.json file I like to set the weight to bold (700) for the header text font, but can't find a way to do so.

        "grid-style":
        {
            "drawing":true,
            "head-band":
            {
                "background-color":"#D3DFE9",
                "dwo-text-font":{"color":"#1D2B32"} -- set weight or size?
            },

Hope someone knows if it's possible.

Michael Kramer Accepted Answer Pending Moderation
  1. Sunday, 16 February 2020 16:21 PM UTC
  2. Beta Testing
  3. # 1

Hi Aart,

I found by experiment that in some places you can set font weight; in others you can't. Remember: Font.Weight = 400: Normal; 700: Bold; and 100:Light.

My demo was hovering effect on a Checkbox so it changed from black normal to darkred bold in hover mode.

It seems to me that UI Themes currently don't have settings that change the element's dimensions. Hence, font size; font family; width/height of scrollbars/trackbars. And bold+light actually change text's dimension ever so slightly. Maybe that's why it is only partially available.

As  Chris replied to other postings; internal handling of UI Themes has been rewritten for 2019 R2. Focus in this release is on customizing per subset of visual objects instead of just global settings per visual object type. I expect Appeon will further enhance UI Themes in future releases - guided by consumer (read: developer) feedback.

I suggest you create enhancement request to add the settings that you miss specifically.

HTH /Michael

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.