Fixed bug with auto resize when changing from minimal view to regular view.

This commit is contained in:
Mitchell Livingston 2006-07-23 15:59:06 +00:00
parent 9765084794
commit 34eab9a3b2
4 changed files with 5 additions and 5 deletions

View File

@ -1590,8 +1590,8 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[self setWindowSizeToFit];
//resize for larger min height
if (!makeSmall && contentSize.height < contentMinSize.height)
//resize for larger min height if not set to auto size
if (!makeSmall && ![fDefaults boolForKey: @"AutoSize"] && contentSize.height < contentMinSize.height)
{
NSRect frame = [fWindow frame];
float heightChange = contentMinSize.height - contentSize.height;

View File

@ -7,7 +7,7 @@
<key>IBEditorPositions</key>
<dict>
<key>1041</key>
<string>344 478 208 130 0 0 1152 842 </string>
<string>439 418 208 130 0 0 1152 842 </string>
<key>1480</key>
<string>366 546 420 63 0 0 1152 842 </string>
<key>1603</key>
@ -31,9 +31,9 @@
<integer>3</integer>
<key>IBOpenObjects</key>
<array>
<integer>1041</integer>
<integer>21</integer>
<integer>1480</integer>
<integer>29</integer>
<integer>21</integer>
</array>
<key>IBSystem Version</key>
<string>8J135</string>

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB