1. Jeff Martin
  2. PowerBuilder
  3. Wednesday, 24 February 2021 17:40 PM UTC

Where is the best documentation for UI Themes? In particular ALL available settings (controls, properties, etc) that can be coded within the Theme.json file.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 February 2021 17:55 PM UTC
  2. PowerBuilder
  3. # 1
Comment
There are no comments made yet.
Jeff Martin Accepted Answer Pending Moderation
  1. Thursday, 25 February 2021 17:42 PM UTC
  2. PowerBuilder
  3. # 2

Thanks, that helps some. But I still cannot find anywhere that outlines all available theme settings (ie: controls, properties, etc). For example, from looking a the samples I know that there is a setting for "datawindow" - "dwo-compute". But I cannot find any documentation on it which would indicate any sub-settings. It would be nice to have a 'dummy' file that at least indicates all possible/available settings.

Comment
There are no comments made yet.
Tracy Huang @Appeon Accepted Answer Pending Moderation
  1. Friday, 26 February 2021 03:39 AM UTC
  2. PowerBuilder
  3. # 3

Hi Jeff,

Using the "datawindow" - "dwo-compute" example you mentioned, you can search for "dwo-compute" in themes.json file and find the supported sub-settings (with default values) for "dwo-compute" as below.

"dwo-compute":
{
"drawing":true,
"border":0,
"border-color":"#CCCCCC",
"background-color":"#FFFFFF",
"text-font":{"color":"#000000"}
},


Only supported settings are listed.

The supported settings are named literally so it can be understood easily, but with a few exceptions such as "drawing", "border". Therefore, it is recommended that you read the following sections first to understand the theme.json file:

https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_the_theme_json_file, and https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_what_can_and_cannot_be_set_by_the_theme

If you have any questions about a specific setting in the theme.json file, please let me know, I will try to help clarify and improve the documentation.

Regards
Tracy

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 26 February 2021 15:05 PM UTC
Based on Tracy’s response she is saying all are listed.
  1. Helpful
  1. Jeff Martin
  2. Saturday, 27 February 2021 00:21 AM UTC
Ok, Thanks. I have some further questions, but they might be better in a new topic.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Saturday, 27 February 2021 00:26 AM UTC
Yes, please. Make separate questions separate topics. Thanks!
  1. Helpful
There are no comments made yet.
Jeff Martin Accepted Answer Pending Moderation
  1. Wednesday, 10 March 2021 12:39 PM UTC
  2. PowerBuilder
  3. # 4

Can the font-face be specified in the Theme.JSON file? I see the font color can be specified.

Comment
  1. Benjamin Gaesslein
  2. Wednesday, 10 March 2021 14:48 PM UTC
See Tracy's link:

https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_what_can_and_cannot_be_set_by_the_theme

Under "What cannot be set by the theme" it says "Font related properties (except font color)"
  1. Helpful
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.