Hi!
Sorry for being late. Yesterday has been a busy day.
I have worked on:
TRConstraint>> setAllToMaxHeight:
TRConstraint>> setAllToMaxWidth:
TRConstraint>> use:alignFromBottom:
TRConstraint>> use:alignFromTop:
Here is an example, and its screenshot:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.
v @ RTDraggableView.
shape := RTBox new
color: Color transparent;
borderColor: Color black;
size: #numberOfMethods.
es := shape elementsOn: (RTShape withAllSubclasses copyWithout: RTSVGPath).
es @ RTDraggable.
RTHorizontalLineLayout new gapSize:0; on: es.
v addAll: es.
v addMenu: 'reset' callback: [
es updateShape.
v signalUpdate ].
v addMenu: 'max' callback: [
TRConstraint setAllToMaxHeight: es.
v signalUpdate ].
v addMenu: 'up' callback: [
TRConstraint use: es first alignFromTop: es.
v signalUpdate ].
v addMenu: 'down' callback: [
TRConstraint use: es first alignFromBottom: es.
v signalUpdate ].
v.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Does this help?
Cheers,
Alexandre
On Sep 29, 2014, at 6:33 AM, Yuriy Tymchuk <yuriy.tymchuk(a)me.com> wrote:
Then you start and I’ll help if you make it available
somewhere. I’m a bit busy with university stuff…
Uko
On 29 Sep 2014, at 15:18, Alexandre Bergel
<alexandre.bergel(a)me.com> wrote:
Hi!
This is something I wanted to do for long. This is a simple method to add in TRConstraint
I believe.
Uko, are you working on this? I can find a few minutes today for this
Alexandre
Le 28-09-2014 à 22:10, Tudor Girba <tudor(a)tudorgirba.com> a écrit :
Hi,
I would need help for reimplementing the Class Blueprint. The challenge here is to get
the ability to set the height of the boxes to be based on the maximum height of any of the
sybling boxes.
Who can help?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.