#76 open
nciagra

CPWindow setMinSize does not set overflow properly

Reported by nciagra | September 26th, 2008 @ 11:15 AM

CPWindow includes utilities to setMinSize and setMaxSize. While these seem to work correctly, when the user resizes the window to less than it's minimum size, the overflow of the window/contentView should be changes to add browser scroll bars into the window.

Comments and changes to this ticket

  • Ross Boucher

    Ross Boucher September 28th, 2008 @ 04:42 PM

    • State changed from “new” to “open”

    CPWindow can not (or at least should not be able to) be resized smaller than its minimum size, or larger than its maximum size. I'm not sure what you're proposing.

  • nciagra

    nciagra September 28th, 2008 @ 08:32 PM

    Sorry, I meant to specify this is relating only to the bridge window. By default, you remove the browsers scroll bars. However, I feel that the bridge window's setMinSize should implement special behavior to add the browser's scroll bars back if the user resizes their browser to less than the minimum size (which is not prevented by setMinSize).

  • Francisco Tolmasky

    Francisco Tolmasky November 18th, 2008 @ 03:43 PM

    We should just prevent this from happening, that can be done right?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Pages