U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ScatterDraw & ScatterCtrl » [Bug] Text overflows legend box (RESOLVED)
Re: [Bug] Text overflows legend box [message #52244 is a reply to message #52243] Thu, 15 August 2019 15:00 Go to previous messageGo to previous message
Maginor is currently offline  Maginor
Messages: 44
Registered: May 2019
Member
Oh, I think I found the issue.

In ScatterDraw::DrawLegend() you call scaledFont.Bold() after calculating the size of the text, but the bold text is slightly wider.


Edit: Confirming that that was the issue.

[Updated on: Thu, 15 August 2019 15:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: [Feature request] Gap in line at NaN values (RESOLVED)
Next Topic: Compilation of ScatterDraw cause warnings
Goto Forum:
  


Current Time: Wed Apr 29 10:36:40 GMT+2 2026

Total time taken to generate the page: 0.00540 seconds