[Lazarus] TListView column sizes are ignored

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Aug 5 12:54:57 CEST 2015


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/




More information about the Lazarus mailing list