Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Integration 20120824#247

Closed
zhizhangchen wants to merge 29 commits into
intel:masterfrom
zhizhangchen:integration-20120824
Closed

Integration 20120824#247
zhizhangchen wants to merge 29 commits into
intel:masterfrom
zhizhangchen:integration-20120824

Conversation

@zhizhangchen

Copy link
Copy Markdown
Contributor

#242, #233, #226, #196 included

maxyu and others added 29 commits August 23, 2012 11:05
We can define a "morph" function for a zone so that When adding
a child, it can be morphed to another type. With this feature, we
can have a generic widget in the palette which can adapt
to different types of containers when dropped on them.
Looking for parent zone with the same name. If found, extend it
with descendant zone, otherwize add a new zone.
Also set the default value of count bubble to empty, i.e, no count
bubble
Sorting is still OK without this change and it causes bad
appearance of ButtonGroup and ThumbnailSplitList
Previous algorithm only supports one zone containers or Headers,
and it works hard to determine the position for insertion. The new
algorithm firstly tries to insert to the zone of the nearest
sibling using enhenced insertChildAfter/Before, if fails, uses
addChild to automatically find a zone to insert.
@zhizhangchen

Copy link
Copy Markdown
Contributor Author

Replaced by #255

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants