Comboboxes with different width when collapsed / expanded?

Started by Peter2, July 12, 2018, 01:25:16 AM

Previous topic - Next topic

Peter2

Many Autocad / Civil Comboboxes have different width((e)s) (?) when they are expanded or collapsed - see picture.

Is it possible in ODCL too?

Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

Hi, Peter, you can only set its Width at all and DropdownHeight, but not DropdownWidth.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Would be great as new feature (the layer-combobox already uses this feature)
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

Added to OpenDCL at Sourceforge as Feature-Request:

"#158 Different width for collapsed / expanded comboboxes"
https://sourceforge.net/p/opendcl/feature-requests/158/
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

Hi, check the sample I attached. Maxbe it could help. Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Thanks Fred

I would say it is a workaround, but not a solution. It needs additional coding, and it increases the entire box and not only the expanded part. And the enlargment of the "title" can collide with other controls.

So let's see what the future will bring - it would be fine, but not vital.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10