[Gambas-user] Combobox, How to get back to old Auto-list-width-behaviour ?
gian
bagoneo at libero.it
Fri May 27 11:58:07 CEST 2022
Il 27/05/22 10:14, ub2 at gmx.ch ha scritto:
> Dear Gambas Cracks
>
>
> I'm fiddling in vain since ... I'd like to ask for some hints.
>
> The Situation (example):
> I have a combobox.w = 75
> - containing a list of entries some of them with length >>> 75
> - the list is filled on runtime, Examples:
> 1 skdjhlkdsf ndsklgjslkn ksrhgsk
> 2 dsfkf sdfgs f hsdfhs sdf gsdf sd
> 3 asdgfs dsfh sdhf sdhb
> 4 ...
>
>
Hi,
I don't think anything can be done.
The ComboBox control has changed recently and is now a Gambas component.
I think it is an error in calculating the width of the popup window that
does not take into account the width of the list.
Benoit I think you should change W -= Style.FrameWidth * 2 to something
like W = gvwPopup.Columns[0].Width + ...
Regards
Gianluigi
More information about the User
mailing list