[fpc-pascal] How to make TCheckBox autosize work correctly on Linux?

Martin Wynne martin at 85a.uk
Wed Jan 7 02:25:10 CET 2026


This is better:

   with checkbox do begin
    AutoSize:=False;
    Caption:='new text';
    Width:=Canvas.TextWidth(Caption)+30;
   end;



More information about the fpc-pascal mailing list