Closed srd-software closed 3 years ago
UTF8Decode / UTF8Encode is missed for rendeding... will check it.. What Delphi version?
check ATCanvasPrimitives.pas is it in OK coding? dots is OK?
function CanvasCollapseStringByDots(C: TCanvas;
const Text: string;
Mode: TATCollapseStringMode;
Width: integer;
DotsString: string='…'): string;
const
did my fix help? @srd-software
check ATCanvasPrimitives.pas is it in OK coding? dots is OK?
function CanvasCollapseStringByDots(C: TCanvas; const Text: string; Mode: TATCollapseStringMode; Width: integer; DotsString: string='…'): string; const
My ATCanvasPrimitives.pas has that function in it. Do I need to call that from my app somewhere?
no, please test my fix (added today).
Oh, OK. I'll try it and let you know in a minute.
OK, yes, that's working now and so is the cursor! Thanks Alexey
Hi Alexey,
I have a strange issue with the latest version of ATTABS. If I have tabs with no ellipsis in them the tab captions are OK. However, if the tab captions are longer than will fit in the tabs, I get odd characters where I should be getting ellipsis (should be these: ... ). I'll put in some screen shots below. The first one is how it should look, the second one is what I'm now getting. As far as I can see in my code, I'm not drawing any text myself, it's all in the tab control. If I maximize the app so some of the tabs no longer need ellipsis, those tabs are then OK until I restore the app to normal size. I have no idea what the problem is or even where to start looking!
CORRECT:
The one below is INCORRECT and what I get with the latest version: