Can position of Dropdown list can be fixed on screen
-
Hi all,
If we have a combo box which shows a drop down menu, it displays the list downwards or upward depending upon the selection and space.
What if I want it to be fixed, that is display either always top or bottom....will that be possible...if yes, which properties to use??thanks....:)
-
The ComboBox tries to make sure all elements in the drop down are visible. I doubt that there is a requirement to have some elements rendered offscreen, depending on where the QComboBox is located.
-
One way would be to patch Qt I think, and tweak the algorithm that determines the placement so that it always returns "below".
[quote author="pragati" date="1349254540"]Some requirements are meant to be followed directly, you cannot change them... [/quote]
This doesn't sound as one of them...