On Thu, 8 Jan 2026 11:51:15 +0100, Mattias Gaertner via fpc-pascal
<[email protected]> wrote:

>
>
>On 1/8/26 11:42, Bo Berglund via fpc-pascal wrote:
>>[...]
>> When I say autosize does not work I mean that the size changes but it does 
>> not
>> include the value part, which is what extends the text size...
>
>Have you checked the checkbox' Constraints?
>
>Or maybe there is another control overlapping?
>
>Mattias

I have never looked at the property "Constraints" before, but when I check (in
the Lazarus IDE) I see these:

Maxheight   0
MaxWidth    0
MinHeight   0
MinWith     0

I assume that with these set to zero the entire group of properties is disabled?
Anyway, these are the defaults from when I added the component on the form.

And there is nothing close to the checkbox either.

Other properties of the checkbox:
Align = alNone
Alignment = taRightJustify
Anchors = [akTop, akLeft]
AutoSize = true

Parent_xxx are all True

And as I said it works as expected on Windows, fails on Linux (Ubuntu 24.04 With
MINT desktop)

Question:

Is there some "refresh" method available for the checkbox, which will re-draw it
on screen?


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to