You could try: TComboBox(DBLookupComboBox1).ItemWidth:=200; It should be OK since ItemWidth is implemented in TCustomComboBox. If it indeed works without problems, you should probably create a ticket to make that property published.
Regards, Flávio Em sex., 3 de mai. de 2024 às 12:15, duilio foschi via lazarus < lazarus@lists.lazarus-ide.org> escreveu: > the string to display on screen (property DataField) is short. > > The strings that are listed for selection (field ListField) are wide. > > I would like to have the control width = 66 pixels and the drop-down list > width = 200 pixels. > > Is there a way to get this behaviour? > > Right now, the drop-down list is 66 pixels and as a result the strings in > the list are truncated...very ugly. > > Thank you > > Peppe > > > > > -- > _______________________________________________ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus >
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus