mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Flexbox ios initial commit
Items now appear, but they should initially shrink and they don't Add 15-ish tests for flexbox layout Port reasonable flexbox test set Fixing issues, adding unit tests Moved from .tsx to .ts and used our ui/builder.parse
This commit is contained in:
@@ -65,6 +65,7 @@ export module layout {
|
||||
export var EXACTLY = 1 << MODE_SHIFT;
|
||||
export var AT_MOST = 2 << MODE_SHIFT;
|
||||
|
||||
export var MEASURED_HEIGHT_STATE_SHIFT = 0x00000010; /* 16 */
|
||||
export var MEASURED_STATE_TOO_SMALL = 0x01000000;
|
||||
export var MEASURED_STATE_MASK = 0xff000000;
|
||||
export var MEASURED_SIZE_MASK = 0x00ffffff;
|
||||
|
||||
1
tns-core-modules/utils/utils.d.ts
vendored
1
tns-core-modules/utils/utils.d.ts
vendored
@@ -28,6 +28,7 @@
|
||||
/**
|
||||
* Bits that provide the actual measured size.
|
||||
*/
|
||||
export var MEASURED_HEIGHT_STATE_SHIFT: number;
|
||||
export var MEASURED_SIZE_MASK: number;
|
||||
export var MEASURED_STATE_MASK: number;
|
||||
export var MEASURED_STATE_TOO_SMALL: number;
|
||||
|
||||
Reference in New Issue
Block a user