Login  Register

Re: Custom layout in Spec

Posted by jfabry on Jun 08, 2014; 8:01pm
URL: https://forum.world.st/Custom-layout-in-Spec-tp4762142p4762217.html


I have been able to get size respecting behavior using rows and columns, by giving newColumn:width: and newRow:width. Combined with splitters (the  addSplitter message) this has worked well for me (modulo some bugs). If you need more complex behavior than that I’m afraid I cannot help you.

On Jun 8, 2014, at 3:39 PM, webwarrior <[hidden email]> wrote:

> My main requirements are such that container respects sizes and resizing
> behaviour (hResizing, vResizing) of its child elements.
>
> Proportional layout doesn't allow that.
>
> And yes, I've read Spec documentation and some Morphic documentation.
>
>
>
> --
> View this message in context: http://forum.world.st/Custom-layout-in-Spec-tp4762142p4762213.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile