Opened 7 years ago

Closed 7 years ago

#3667 closed bug (fixed)

Dialog is created with wrong height/width when a string is passed

Reported by: dmuir Owned by:
Priority: minor Milestone: 1.7
Component: ui.dialog Version: 1.6rc2
Keywords: dialog, height, width Cc:
Blocked by: Blocking:


    width : "450",
    height : "300"

Results in a dialog with the size 156x240.

    width : 450,
    height : 300

will result in a dialog with the size 450x300

Adding parseInt() fixes the problem. Either add the type casting internally in dialog(), or document that the values must be integers for it to work, and to type-cast when necessary.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4

Change History (1)

comment:1 Changed 7 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.6
  • Resolution set to fixed
  • Status changed from new to closed

This works fine for me using latest SVN. The fix probably occurred when the size method was rewritten for the new framework. Feel free to re-open this ticket if you continue to have problems after 1.6rc3.

Note: See TracTickets for help on using tickets.