Defect #502
List Picker doesn't seem to listen to: _oLP.form.width = 800;
0%
Description
It seems like there is a bug in the list picker where it doesn't listen to setting the size of the list picker.
I have various list pickers of different sizes and when a smaller _oLP.form.width is called, then a larger one, the form does not resize.
History
Updated by John Michael Parkan almost 13 years ago
It's not using a show form in dialog, but I found this little tidbit: Show the specified form in a dialog. (NOTE: x, y, width, height are initial bounds - applied only the fist time a dialog is shown)
Could that be the issue here?
Updated by Robert Ivens almost 13 years ago
- Status changed from New to Feedback
That might be the case here. You should name your listpickers (the name property) uniquely so that each window object uses it's own instance. If you use the same name everywhere then the same window instance is used.
Updated by Robert Ivens over 12 years ago
Do you still see this behavior even if you have different window names ?
Updated by John Michael Parkan over 12 years ago
No, it works perfectly when I have different window names using the .name property.
Updated by Robert Ivens over 12 years ago
- Status changed from Feedback to Rejected
Okay, then I consider this ticket closed.
The JSListpicker doesn't know if a dialogname was used before and what it's dimensions were. Consider this a Servoy gotcha/limitation/by design thing.
Updated by John Michael Parkan over 12 years ago
So what is the work around to use .width properties differing lengths?
Updated by Robert Ivens over 12 years ago
You use a different (unique) dialog name. This is just an internal name, the window title is something completely different.