YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2527706 (closed defect)

Reporter


Dav Glass
Opened: 02/19/09
Last modified: 09/14/09
Status: closed
Type: defect
Resolution: fixed

Owner


Dav Glass
Target Release: 2.8.0
Priority: P3 (normal)
Summary: Can't set maxHeight/maxWidth after creation
Description:

It seems that the maxHeight/maxWidth only get's set one time when the Unit is created, calling: unit.set('maxHeight', 100) doesn't do anything useful

A workaround is to set the maxHeight on the unit's resize instance:

unit._resize.set('maxHeight', 100)

Type: defect Observed in Version: 2.6.0
Component: Layout Manager Severity: S3 (normal)
Assigned To: Dav Glass Target Release: 2.8.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: All
URL:
Test Information:

Change History

Dav Glass

YUI Developer

Posted: 02/19/09
  • status changed from new to accepted

Dav Glass

YUI Developer

Posted: 06/26/09

Ticket #2527982 was marked as a duplicate of this ticket.

Dav Glass

YUI Developer

Posted: 06/26/09
  • milestone changed from 2.NEXT to 2.8.0

Dav Glass

YUI Developer

Posted: 07/13/09
  • resolution changed to fixed
  • status changed from accepted to checkedin

fixes #2527706 - Added passthru call to _resize for max/minHeight/Width
View Commit: 6a9dc5906da4c37c0517eff073605d14f6c1d12c

George

YUI Developer

Posted: 09/14/09
  • status changed from checkedin to closed

2.8.0 has been released. All "checkedin" items are available for download in the official release. Status of "checkedin" items is being set to closed.