1. Philippe PILAT
  2. PowerBuilder
  3. Tuesday, 28 April 2020 11:12 AM

Hi everyone,

using PB2019 build 2170 how do you keep consistency in datawindows when using themes and custom code for background color ?

See this example :

how to make that F2 look like F1 ?

Thanks for suggestions.

Philippe.

Philippe PILAT Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 09:59 AM
  2. PowerBuilder
  3. # 1
0
Votes
Undo

Mark,

here is a compressed file containing a sample application (pbw, pbt, pbl) and the json file.

Hope this will help.

Regards,

Attachments (1)
Comment
Hi Mark,

in our application we use a lot of expression for background colors in DW.

This way we cannot have consistency in the visual interface.

If this is the expected behavior themes, can we not have a method that returns the values applied by the theme?



Best regards,
  1. Philippe PILAT
  2. Monday, 4 May 2020 07:00 AM
I feel your pain, Phillipe. The inability to interrogate and control the details of column and text DWObjects, static text, single line & multi-line edit controls, radio buttons and check boxes, etc. when themes are in use is THE reason we cannot use themes. We had high hopes for the UI Modernization enhancements, but for many reasons it is unusable for us in its current form and has proven to be a HUGE disappointment.
  1. John Fauss
  2. Monday, 4 May 2020 15:15 PM
Hi Philippe & John,

Currently, we don't have a method that returns the values applied by the Theme.

But yes, this must be a pain for you. So I will record it as a new enhancement / requirement request and will transfer it to our product team for consideration. Thanks for your understanding.

Regards,
  1. Mark Lee @Appeon
  2. Wednesday, 6 May 2020 05:20 AM
There are no comments made yet.
Philippe PILAT Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 07:49 AM
  2. PowerBuilder
  3. # 2
0
Votes
Undo

Mark,
I've tested in 2019 R2, it works with themes supplied by Appeon.
I made a custom one by copying "Flat design blue" and modified background color setting for dwo-column ("background-color":"#F1F4FC",) then the rendering is not the same if you have an expression for the background color of a column. see picture attached ...

Regards,

Attachments (1)
Comment
Can you provide a reproducible sample test case (with PBT / PBL + Json file) for us to reproduce it?
  1. Mark Lee @Appeon
  2. Wednesday, 29 April 2020 09:44 AM
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 05:57 AM
  2. PowerBuilder
  3. # 3
0
Votes
Undo

Hi Philippe,

 

I have built a test case to test it but I can neither reproduce it in PB2019 build 2170 nor PB2019 build 2328 on our side. Of cause, I also suggest that you upgrade your app to PB2019 build 2328, which will provide you better Theme feature.

If you can also reproduce it in the other machine,  I suggest you report a bug via our support ticketing system : https://www.appeon.com/standardsupport/newbug and also please provide a reproducible sample test case for us to reproduce it. 

 

Regards,

Comment
Hi Mark,

do you apply a theme ?

In my case a theme (Flat design dark) is defined at application level.



Regards,

  1. Philippe PILAT
  2. Wednesday, 29 April 2020 06:44 AM
Yes, my theme settings are the same as yours.



Regards,

  1. Mark Lee @Appeon
  2. Wednesday, 29 April 2020 06:49 AM
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 April 2020 16:41 PM
  2. PowerBuilder
  3. # 4
0
Votes
Undo

Hi Phillipe;

   FWIW: I would not even bother with PB2019  as the Theme feature was only partially implemented. Please upgrade to PB 2019 R2 to fully utilize the Theme feature in its totally revamped state. The latest R2 build BTW is #2328.

Regards ... Chris

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.