mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Implemented percent support for width, height and margins
This commit is contained in:
8
org.nativescript.widgets.d.ts
vendored
8
org.nativescript.widgets.d.ts
vendored
@@ -4,6 +4,14 @@
|
||||
export class CommonLayoutParams extends android.widget.FrameLayout.LayoutParams {
|
||||
constructor();
|
||||
|
||||
public widthPercent: number;
|
||||
public heightPercent: number;
|
||||
|
||||
public topMarginPercent: number;
|
||||
public leftMarginPercent: number;
|
||||
public bottomMarginPercent: number;
|
||||
public rightMarginPercent: number;
|
||||
|
||||
public left: number;
|
||||
public top: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user