1. Joseph Park
  2. PowerBuilder
  3. Tuesday, 8 November 2022 18:45 PM UTC

PB2019 R3

Theme version 190

 

By default our toolbar text size is set to 8

Once we apply a theme, that includes menu, the toolbar text size increases. We display a bitmap image, and below that the text is now cut off. So the text size increases when a theme is applied to menu but we do not want that. 

Only thing that seemed to work is setting the menu drawing:false. This is not ideal because that strips theming from all menu objects. Not including the toolbar theming in menu did not seem to do anything either. 

No where in the theme.json or additonal jsons does it set text-size/font size so we don't know where that overriding statement is coming from.

 

Is there a way to either

- change text size for toolbars in theming?

- disable theming for toolbar (specifically for text size). So it reverts back to default text size?

- Or a workaround for the toolbar text size

 

Thank you for your time,

JP

Joseph Park Accepted Answer Pending Moderation
  1. Monday, 14 November 2022 16:58 PM UTC
  2. PowerBuilder
  3. # 1

Thank you for all the replies.

 

Turns out we were using the 'old' toolbar styling. The old version has a text-to-fit feature which the contemporary one does not.

 

If you have old version and apply a theme it goes from 8 -> ~14 looks like font after theming

whereas, if you you have contemporary on the font size looks to be 12 or 13 after theming (we see more letters)

 

We think we might opt for the old version since that has text to fit.

 

Thank you for time,

Joseph

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 14 November 2022 18:01 PM UTC
Thanks for explaining!
  1. Helpful
There are no comments made yet.
Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Monday, 14 November 2022 09:19 AM UTC
  2. PowerBuilder
  3. # 2

Hi Joseph, 

Are you saying that the font size in the toolbar is changed after applying the theme?  That's strange, because our theme settings do not contain font size setting.  If possible, please open a bug report at https://www.appeon.com/standardsupport/newbug, and provide us a sample test case/screenshots.

Also, you said "Only thing that seemed to work is setting the menu drawing:false. This is not ideal because that strips theming from all menu objects.".  Please note that it is possible to only strip the theme for specific menu objects, while keeping the theme for the other objects.  For more information, please check here: https://docs.appeon.com/pb2022/pbug/Specifying_application_properties.html#custom_themes

Best regards, Julie

Comment
There are no comments made yet.
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Wednesday, 9 November 2022 06:16 AM UTC
  2. PowerBuilder
  3. # 3

Hello,

Better to submit a bug report and see what Appeon support says.

Happiness Always
BKR Sivaprakash

 

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.