Hello!
This is my weekly ChangeLog, from 4 February 2019 to 10 February 2019. You can see it in a better format by going here: http://log.smallworks.eu/web/search?from=4/2/2019&to=10/2/2019 ChangeLog ========= 9 February 2019: ---------------- * === On layouts As you know, I've been working on layouts for Spec 2. The basic layouts I want to have available next week(s) are four: * +SpecBoxLayout+ : A simple way to place components horizontally or vertically * +SpecPanedLayout+ : Same as box layout, but with a resizable splitter (and it will allow just two... if you want more you will need to compose). * +SpecGridLayout+ : To place components in a grid (x,y coordinates and spans) * +SpecXYLayout+ : This could be renamed as +SpecAbsoluteLayout+ and it's name says all, it will allow absolute location of components (obviously, in relation with its parent). For a second phase there will be a couple more +SpecFlowLayout+ and a kasowari layout (without name yet :P). The ones on first phase are the most important ones. In particular, we have detected that with first three (Box, Paned, Grid) we can reproduce everything we have currently in Pharo. The second phase will add possibilities for the future. Anyway, I have "kind-of-working" the first three, but I have problems when applying layouts here and there, because morphic time to time wants to behave differently than asked. One of the problems is that for this layouts, to make them behave correctly (and without a lot of work from users), I will need to add the concept of "minimum, preferred and maximum" extent. Reason why I'm playing with a small implementation of styling... which most probably will go away once I find the best way to handle this constraints. So, this week I have nothing finished, just a pointer to my current work: [https://github.com/estebanlm/Spec/tree/dev-2.0](https://github.com/estebanlm/Spec/tree/dev-2.0) 7 February 2019: ---------------- * Small fix-a-day: [https://github.com/pharo-project/pharo/pull/2452](https://github.com/pharo-project/pharo/pull/2452) cheers! Esteban |
> Am 11.02.2019 um 08:00 schrieb [hidden email]: > > Hello! > > This is my weekly ChangeLog, from 4 February 2019 to 10 February 2019. > You can see it in a better format by going here: http://log.smallworks.eu/web/search?from=4/2/2019&to=10/2/2019 > > ChangeLog > ========= > > 9 February 2019: > ---------------- > > * === On layouts > As you know, I've been working on layouts for Spec 2. The basic layouts I want to have available next week(s) are four: > > * +SpecBoxLayout+ : A simple way to place components horizontally or vertically > * +SpecPanedLayout+ : Same as box layout, but with a resizable splitter (and it will allow just two... if you want more you will need to compose). > * +SpecGridLayout+ : To place components in a grid (x,y coordinates and spans) > * +SpecXYLayout+ : This could be renamed as +SpecAbsoluteLayout+ and it's name says all, it will allow absolute location of components (obviously, in relation with its parent). > > For a second phase there will be a couple more +SpecFlowLayout+ and a kasowari layout (without name yet :P). > Norbert > The ones on first phase are the most important ones. In particular, we have detected that with > first three (Box, Paned, Grid) we can reproduce everything we have currently in Pharo. The second phase > will add possibilities for the future. > > Anyway, I have "kind-of-working" the first three, but I have problems when applying layouts here and there, because > morphic time to time wants to behave differently than asked. > > One of the problems is that for this layouts, to make them behave correctly (and without a lot of work from users), > I will need to add the concept of "minimum, preferred and maximum" extent. Reason why I'm playing with a small > implementation of styling... which most probably will go away once I find the best way to handle this constraints. > > So, this week I have nothing finished, just a pointer to my current work: [https://github.com/estebanlm/Spec/tree/dev-2.0](https://github.com/estebanlm/Spec/tree/dev-2.0) > > > 7 February 2019: > ---------------- > > * Small fix-a-day: [https://github.com/pharo-project/pharo/pull/2452](https://github.com/pharo-project/pharo/pull/2452) > > > cheers! > Esteban > |
Le lun. 11 févr. 2019 à 08:45, Norbert Hartl <[hidden email]> a écrit :
+1 for
ConstraintLayout Norbert |
Ok, Constraint will be :) (But it will not arrive until half part of P8 development :P) Esteban
|
No problem if you remember then ;) In the meantime you can rename XYLayout to AbsoluteLayout :D Norbert
|
On Mon, Feb 11, 2019 at 9:54 AM Norbert Hartl <[hidden email]> wrote:
Or FixedLayout :P. Because actually it's not absolute, it's relative to its parent xD.
|
Norbert
|
Administrator
|
NorbertHartl wrote
>> Or FixedLayout :P. Because actually it's not absolute, it's relative to >> its parent xD. > > The layout is absolute for the component it is applied to. Doesn’t matter > if the component itself is layouted relative to something else. We don’t > need to try hard to come up with new terms just be different to e.g. CSS Only skimmed the thread, but +1 to leaning heavily to accepted domain terms even if they are not "perfect". IMHO, for common domains, the tower of babel creates more accidental complexity than imperfect names. ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
Cheers,
Sean |
Free forum by Nabble | Edit this page |