OpenSmock / Pyramid

Pyramid is a Graphical User-Interface (GUI) builder and editor for Bloc and Toplo.
MIT License
33 stars 6 forks source link

Group position equals most top left position #93

Closed Nyan11 closed 1 year ago

Nyan11 commented 1 year ago

https://github.com/OpenSmock/Pyramid/issues/59

Now the position of a group is equals to the position of the most top/left element. Also the elements to group now changed their positions to respect the visual position

labordep commented 1 year ago

I have the explanation :

I just wanted to let people who are using Pharo12 that they might notice some changes while exporting their code to github now.

We are introducing a TonelV3 format. The goals are to:
- Follow the spec that was agreed upon because currently we have symbols instead of strings in some places and that made it incompatible with Gemstone or Vast 
- Add missing informations. This is because in Pharo we have packages and tags but the only thing exported is the category. So reading the categories was ambiguous and relied on some heuristic. Loading the same class in two pharo image could load the class in different packages depending on the state of the image. 
- We want to add meta data for new features (not yet done). For example there is a new feature to rename a class and keep the old name as a deprecated alias for a while. We would like to be able to declare those info in the fluid class definition and in the Tonel format.

The new format still exports the category (but there is a setting to not export it) to stay backward compatible for now. 
Using the Tonel paser to read classes that were exported before Pharo 12 can have some difficulties to manage the tags, but the TonelReader class that is used by Iceberg knows how to resolve all of those problem to ensure the classes are in the right packages and in the right classes!

So don't use Pharo 12 for this work. Can you re send your modifications with P11 ? Thanks.

Nyan11 commented 1 year ago

See : https://github.com/OpenSmock/Pyramid/pull/97

Nyan11 commented 1 year ago

New pull request in : https://github.com/OpenSmock/Pyramid/pull/97