Recent

Author Topic: custom height of a TComboBox  (Read 3478 times)

bee

  • Sr. Member
  • ****
  • Posts: 393
custom height of a TComboBox
« on: September 27, 2006, 08:32:59 am »
Hi...

I have a little problem with TComboBox. I'd like to have some TComboBox(es) with custom and various height. I don't know why Lazarus seems to lock TComboBox's height, to 21pix using csDropDownXXX style or to 24pix using csOwnerDrawXXX. I have tried to modify the Height and/or ItemHeight property manually through Object Inspector, but I got no luck. Nothing mentioned in the FPC or Lazarus documentation regarding this behaviour. :(

Just for a comparison... in Delphi, I would simply set its style to csOwnerDrawXXX and I can set its height to any values I wanted (except negative values, of couse).

I got this problem using Lazarus 0.9.18 (also with previous versions), FPC 2.0.4, WinXP SP 2, Intel 32-bit. Never tried this on Linux (Suse 10.1) yet. :)

I'd appreciate any kind of help/hint/explanation about this. Thank you.
-Bee-

A long time pascal lover.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
RE: custom height of a TComboBox
« Reply #1 on: September 27, 2006, 10:47:08 am »
Tested on linux gtk. There I can choose any height (alltough the dropdown popsup at the wrong place)

Sounds like a bug, please bugrep this. Bugs reported here will be forgotten
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018