We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue migrated from SourceForge | ID: 2508451 | Submitted by 'jmfuo'] [http://sourceforge.net/support/tracker.php?aid=2508451]
If you set the bounds of a scrollView retrospectively, it does not respect relativeOrigin of the parent:
( w=Window.new("test",Rect(100,400,600,400)).front;
v=CompositeView(w,w.view.bounds.moveTo(0,0).insetBy(20,20)).background_(Color.green.alpha_(0.4));
q=SCScrollView(v,v.bounds.moveTo(0,0).insetBy(20,20)).background_(Color.red.alpha_(0.4));
q.flow({ arg w; 78.do({ arg i; b = GUI.button.new(w, Rect(rrand(20,300),rrand(20,300), 75, 24)); b.states = [["Start "++i, Color.black, Color.rand], ["Stop "++i, Color.white, Color.red]]; }); }); )
q.bounds=q.bounds.moveTo(0,0) // this should respect relativeOrigin
The text was updated successfully, but these errors were encountered:
Merge pull request #75 from gusano/topic/simplify-build-instructions-rpi
7f98a7b
Simplify build instructions for rpi
No branches or pull requests
[Issue migrated from SourceForge | ID: 2508451 | Submitted by 'jmfuo']
[http://sourceforge.net/support/tracker.php?aid=2508451]
If you set the bounds of a scrollView retrospectively, it does not respect relativeOrigin of the parent:
(
w=Window.new("test",Rect(100,400,600,400)).front;
v=CompositeView(w,w.view.bounds.moveTo(0,0).insetBy(20,20)).background_(Color.green.alpha_(0.4));
q=SCScrollView(v,v.bounds.moveTo(0,0).insetBy(20,20)).background_(Color.red.alpha_(0.4));
q.flow({ arg w;
78.do({ arg i;
b = GUI.button.new(w, Rect(rrand(20,300),rrand(20,300), 75, 24));
b.states = [["Start "++i, Color.black, Color.rand],
["Stop "++i, Color.white, Color.red]];
});
});
)
q.bounds=q.bounds.moveTo(0,0) // this should respect relativeOrigin
The text was updated successfully, but these errors were encountered: