1. Sivaprakash BKR
  2. PowerBuilder
  3. Monday, 17 May 2021 13:36 PM UTC

Hello,

Using PB 2019R3 Build 2703 - Using Theme Flat Design Blue

Need to set a (different) background color for dropdowndatawindow from datawindow.  Having the same background color for both datawindow and dropdown datawindow is bit confusing.

Flat Design Blue got an option to set the same (I think this is the value), Under dwo-column


**********************************
"dropdown-type":
{
"drawing":true,
"selected-row-text-color":"#000000",
"selected-row-background-color":"#CDE8FF",
"unselected-row-background-color":"#FFFFFF",
"normal-state":
{
"background-color":"#FFFFFF",
"arrow-image":{"file":"dropdownlistbox-arrow-normal.png"}
},
**********************************

The value for background-color is #FFFFFF, but I get the color of datawindow's background color for dropdown datawindow also.  

How to set a different background color for dropdown datawindow in theme.json file ?

Happiness Always
BKR Sivaprakash

 

Andreas Mykonios Accepted Answer Pending Moderation
  1. Monday, 17 May 2021 14:44 PM UTC
  2. PowerBuilder
  3. # 1

Hi.

Unfortunately the dropdown-type doesn't seem to have a separate setting for background color. Setting inside "dropdown-type" will affect controls inside the dataobject... I don't know if it can be an option, but you can change the background for the rows...

"selected-row-background-color":"#CDE8FF",
"unselected-row-background-color":"#FFFFFF",

Andreas.

Comment
  1. Sivaprakash BKR
  2. Tuesday, 18 May 2021 07:59 AM UTC
Any workaround possible, Andreas Mykonios ? When we work with themes, settings through coding is not possible. There should be a way to override the theme settings ...
  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.
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.