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.
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Looking for Theme Documentation
- Jeff Martin
- PowerBuilder
- Wednesday, 24 February 2021 17:40 PM UTC
- Wednesday, 24 February 2021 17:55 PM UTC
- PowerBuilder
- # 1
Hi Jeff,
I recommend you read these 2 documents:
User Guide: https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Specifying_the_UI_theme_for_the_application
Best regards,
Armeen
- Thursday, 25 February 2021 17:42 PM UTC
- PowerBuilder
- # 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.
- Friday, 26 February 2021 03:39 AM UTC
- PowerBuilder
- # 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
- Armeen Mazda @Appeon
- Friday, 26 February 2021 15:05 PM UTC
-
Helpful Loading... Helpful 0
- Jeff Martin
- Saturday, 27 February 2021 00:21 AM UTC
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Saturday, 27 February 2021 00:26 AM UTC
-
Helpful Loading... Helpful 0
- Wednesday, 10 March 2021 12:39 PM UTC
- PowerBuilder
- # 4
Can the font-face be specified in the Theme.JSON file? I see the font color can be specified.
- Benjamin Gaesslein
- Wednesday, 10 March 2021 14:48 PM UTC
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)"
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.