Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

Width property not updated

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

Hello Lazarus developers.

In the last stable version of Lazarus (i.e. 1.0.8) the width property of some widgets (such as TLabel and TButton) is not updated when AutoSize is True, and the caption is changed. This has been verified under Linux, both with GTK2 and Qt widgetset.

However this issue appears to have been fixed in trunk.

Will the fix be included in next stable release, or should I consider to keep in life my ugly workaround (i.e. using canvas.TextExtent to obtain an estimate of the widget width)?

Giuliano

Reply by email