Jump to content

gdispGetStringWidth and gdispGFillStringBox


vrollei

Recommended Posts

Hi,

I have migrated to version 2.8 from version 2.7 and gdispGFillStringBox draws text differently from previous version.

If I use result of gdispGetStringWidth for gdispGFillStringBox as cx parameter then text will be wrapped. So I need to add at least 2 pixels to the result of gdispGetStringWidth to get correct result.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...