Sign in Join

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

Mailing lists / lazarus / 2015-08

TListView column sizes are ignored

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

In Lazarus's "Procedure List" dialog there is a listview component with column widths defined as:

  LV.Column[0].Width  := 20;
  LV.Column[1].Width  := 300;
  LV.Column[2].Width  := 100;
  LV.Column[3].Width  := 60;

Yet under Linux and FreeBSD, using lcl-gtk2, those widths are simply ignored. It seems some auto-size is used instead, using the column captions.

Is column widths not supported in LCL-GTK2? Or is there some other magic property that must be specified so it actually uses the values I specified?

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

waldo kitty
to Graeme Geldenhuys
Graeme Geldenhuys wrote
No worries, I figured out what to do.

what is/was the secret?

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email