Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix c0dc00089a
[Flex] fix Padding on the FlexLayout (#4823)
As the flex engine doesn't handle x,y offset on the root layout,
handle that at the XF.FlexLayout level.

- fixes #2663
2018-12-21 09:23:41 +01:00
E.Z. Hart 505a855cad
Move GetNativeSize to PlatformServices, remove IPlatform (#4235) 2018-10-31 15:12:22 -06:00
Stephane Delcroix 454f4d37c2
[Flex] Make sure layout is invalidated on time (#2938)
When a BP changes, the BP value changes, the propertyChanged event is
fired, then the propertyChanged delegate is executed.

As the invalidation was done in the event, and setting the flexitem
property was done in the delegate, the invalidation, and relayout, was
executed with an out-of-date flexitem.

With this change, we invalidate the child size, and that'll bubble up to
invalidate the layout, as part of the property changed delegate

- fixes #2821
2018-06-05 12:59:11 -07:00
Stephane Delcroix 3f8c129297
[Flex] do not layout invisible children (#2594)
- fixes #2593
2018-05-04 20:46:52 +02:00
Stephane Delcroix 3c91a8cf7e
[C][flex] proper handling of grow in reverse (#2569)
- fixes #2551
2018-05-03 20:36:21 +02:00
Stephane Delcroix 89ffc1f32f
[flex] better margin support with Wrap (#1997) 2018-03-02 09:13:51 +01:00
Stephane Delcroix 825886eef4 [C] FlexLayout, with managed engine (#1759)
* [C] FlexLayout, with managed engine

* [C] add type converter and attributes for CSS

* [C] fix flex-order

* [C] fix typo and margin in Flex

* [Flex] relative value for Basis, padding on the layout

* fix docs

* [Flex] fix NRE on empty layout

* [flex] fix layout measuring
2018-02-06 10:54:33 +00:00