"Helene Bilbo“ 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. >> >> > 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 :( >
The reason seems to be, that, when i try to combine Morphs via the halo-menu and choose ProportionalLayout there is no LayoutFrame generated. - Is there a case, where ProportionalLayout makes sense without a LayoutFrame? - Is there a way to generate a LayoutFrame when manipulating Morphs directly using the mouse and halo-menus? Best regards, Helene. -- View this message in context: http://forum.world.st/How-to-resize-a-submorph-according-to-it-s-owner-tp3394043p3395805.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
