[Squeak] been dazed by Resizing subview (MVC)
NISHIHARA Satoshi
nishis at urban.ne.jp
Sun Aug 30 18:55:51 UTC 1998
Sorry for MVC Question.
Please evaluate below and resize subview.
| topView subView1 subView2 |
topView := (StandardSystemView new)
model: nil;
label: 'resize test';
minimumSize: 64 @ 128.
subView1 := View new.
subView1 backgroundColor: Color red.
topView addSubView: subView1.
subView2 := View new.
subView2 backgroundColor: Color green.
topView addSubView: subView2 toRightOf: subView1.
subView1 borderWidth: 1.
subView2 borderWidth: 1.
topView borderWidth: 1.
topView controller open
Picking up center line and drag left and right many times,
subViewes are shrinking....
or evaluate below
| topView subView1 |
topView := (StandardSystemView new)
model: nil;
label: 'resize test';
minimumSize: 64 @ 128.
subView1 := View new.
subView1 backgroundColor: Color red.
topView addSubView: subView1.
subView1 borderWidth: 1.
topView borderWidth: 1.
topView controller open
and resizing topview many times, subview is shrinking...
It didn't happen on Version 1.31.
How can I avoid it (with using MVC) ?
regards
-------------------------------------------
$B@>86Ao;N(B (NISHIHARA Satoshi)
e-mail: nishis at urban.ne.jp
: tcc00164 at nifty.ne.jp
URL: http://www.urban.ne.jp/home/nishis/
-------------------------------------------
More information about the Squeak-dev
mailing list
|