Looking for a workaround for a Bug in Cocoa Window
Looking for a workaround for a Bug in Cocoa Window
- Subject: Looking for a workaround for a Bug in Cocoa Window
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 29 Aug 2001 19:49:40 +0200
I have a Window which contains 2 views. One is stuck at the bottom of
the window and can be resized horizontallay. Below it, there is a view
which can be resized both vertically and horizontally.
+---------------------+
| (1) |
+---------------------+
| |
| (2) |
| |
+---------------------+
This window has a window name and some its dimensions and position are
saved.
There seems to be a bug in Cocoa when this window is unarchived. I'm
getting this (the problem also appears sometimes in IB: 50% of time when
I enter the run mode):
+------------------------------------+
| |
| |
+---------------------+ |
| (1) | |
+---------------------+ |
| | |
| (2) | |
| | |
+---------------------+--------------+
|
|
|
|
(1) is -oo--oo-+-oo--oo-
|
|
8
|
|
|
8
|
(2) is -----oo-+-oo-----
|
8
|
|
Is it a problem with my resizing settings or a bug in Cocoa ? Is there a
known workaround for it ?