PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Font Size Changing  (Read 1240 times)

James Zukowski

  • Diamond Member
  • *****
  • Posts: 308
    • View Profile
Font Size Changing
« on: March 18, 2019, 04:32:23 PM »
When processing some panels from our menu program, the font sizes in (typically) Multi_Lines and List_Boxes are inconsistent -- even on the same machine. I just saw one that had everything fitting properly, then cycled through the menu, and it became a larger size, perhaps 1 or 2 points, but enough to overflow the field sizes.

Does anyone have any idea what might cause this? It's been plaguing us for months. This is the first time I've been able to see this dynamic a change, and there's nothing I've been able to find that might be the culprit.

PxPlus 13.10, RHE Linux 5, *nthost/*ntslave WindX
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

  • Diamond Member
  • *****
  • Posts: 3818
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Font Size Changing
« Reply #1 on: March 18, 2019, 06:52:29 PM »
We have seen similar situations caused by using relative font sizing not taking into account that changing the current font size impacts all subsequent fonts.

We generally suggest you only modify specific controls and not adjust font sizes during the execution of the application.  If you must adjust default font size don't use relative sizes as they are based on the current setting which will not be static since you are changing it.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com