Project

General

Profile

Defect #502

List Picker doesn't seem to listen to: _oLP.form.width = 800;

Added by John Michael Parkan about 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/26/2012
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

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

#1

Updated by John Michael Parkan about 12 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?

#2

Updated by Robert Ivens about 12 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.

#3

Updated by Robert Ivens almost 12 years ago

Do you still see this behavior even if you have different window names ?

#4

Updated by John Michael Parkan almost 12 years ago

No, it works perfectly when I have different window names using the .name property.

#5

Updated by Robert Ivens almost 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.

#6

Updated by John Michael Parkan almost 12 years ago

So what is the work around to use .width properties differing lengths?

#7

Updated by Robert Ivens almost 12 years ago

You use a different (unique) dialog name. This is just an internal name, the window title is something completely different.

Also available in: Atom PDF