Sean P. DeNigris wrote: > > > Helene Bilbo wrote: >> >> when i embed a Morph A into a Morph B and then resize B, A stays the same >> size. >> I would like A to resize proportional accroding to the resizing of B. >> >> In the Halo-Menu there is a LayoutPolicy that can be set to >> ProportionalLayout - but that seems not to change anything. >> > > Good work so far - ProportionalLayout is exactly what you want. See the > great examples at http://wiki.squeak.org/squeak/2141 >
Thank you. It works fine if i write code. Now i would also like to get the same result by directly manipulating morphs (via halos): - open a bigger and a smaller Morph in a world. - via the halo menu set the layout policy of the bigger Morph to ProportionalLayout. - drag the smaller Morph above the bigger one. - embed the smaller one into the bigger one. -> if i resize the bigger Morph the smaller one stays the same size :( -- View this message in context: http://forum.world.st/How-to-resize-a-submorph-according-to-it-s-owner-tp3394043p3395011.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
