-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -795,6 +795,12 @@ export class FancyButton extends ButtonContainer | |
return this._textOffset; | ||
} | ||
|
||
/** | ||
* Sets width of a FancyButtons state views. | ||
* If nineSlicePlane is set, then width will be set to nineSlicePlanes of a views. | ||
* If nineSlicePlane is not set, then width will control components width as Container. | ||
* @param value - Width value. | ||
Check warning on line 802 in src/FancyButton.ts GitHub Actions / build
Check warning on line 802 in src/FancyButton.ts GitHub Actions / build
|
||
*/ | ||
override set width(width: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -826,11 +832,18 @@ export class FancyButton extends ButtonContainer | |
} | ||
} | ||
|
||
/** Gets width of a FancyButton. */ | ||
override get width(): number | ||
{ | ||
return super.width; | ||
} | ||
|
||
/** | ||
* Sets height of a FancyButtons state views. | ||
* If nineSlicePlane is set, then height will be set to nineSlicePlanes of a views. | ||
* If nineSlicePlane is not set, then height will control components height as Container. | ||
* @param value - Height value. | ||
Check warning on line 845 in src/FancyButton.ts GitHub Actions / build
Check warning on line 845 in src/FancyButton.ts GitHub Actions / build
|
||
*/ | ||
override set height(height: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -862,6 +875,7 @@ export class FancyButton extends ButtonContainer | |
} | ||
} | ||
|
||
/** Gets height of a FancyButton. */ | ||
override get height(): number | ||
{ | ||
return super.height; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -522,6 +522,12 @@ export class Input extends Container | |
super.destroy(options); | ||
} | ||
|
||
/** | ||
* Sets width of a Input. | ||
* If nineSlicePlane is set, then width will be set to nineSlicePlane. | ||
* If nineSlicePlane is not set, then width will control components width as Container. | ||
* @param value - Width value. | ||
Check warning on line 529 in src/Input.ts GitHub Actions / build
Check warning on line 529 in src/Input.ts GitHub Actions / build
|
||
*/ | ||
override set width(width: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -545,11 +551,18 @@ export class Input extends Container | |
} | ||
} | ||
|
||
/** Gets width of Input. */ | ||
override get width(): number | ||
{ | ||
return super.width; | ||
} | ||
|
||
/** | ||
* Sets height of a Input. | ||
* If nineSlicePlane is set, then height will be set to nineSlicePlane. | ||
* If nineSlicePlane is not set, then height will control components height as Container. | ||
* @param value - Height value. | ||
Check warning on line 564 in src/Input.ts GitHub Actions / build
Check warning on line 564 in src/Input.ts GitHub Actions / build
|
||
*/ | ||
override set height(height: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -573,6 +586,7 @@ export class Input extends Container | |
} | ||
} | ||
|
||
/** Gets height of Input. */ | ||
override get height(): number | ||
{ | ||
return super.height; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,6 +229,12 @@ export class ProgressBar extends Container | |
return this._progress; | ||
} | ||
|
||
/** | ||
* Sets width of a ProgressBars background and fill. | ||
* If nineSlicePlane is set, then width will be set to nineSlicePlane. | ||
* If nineSlicePlane is not set, then width will control components width as Container. | ||
* @param value - Width value. | ||
Check warning on line 236 in src/ProgressBar.ts GitHub Actions / build
Check warning on line 236 in src/ProgressBar.ts GitHub Actions / build
|
||
*/ | ||
override set width(width: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -255,11 +261,18 @@ export class ProgressBar extends Container | |
} | ||
} | ||
|
||
/** Gets width of a ProgressBar. */ | ||
override get width(): number | ||
{ | ||
return super.width; | ||
} | ||
|
||
/** | ||
* Sets height of a ProgressBars background and fill. | ||
* If nineSlicePlane is set, then height will be set to nineSlicePlane. | ||
* If nineSlicePlane is not set, then height will control components height as Container. | ||
* @param value - Height value. | ||
Check warning on line 274 in src/ProgressBar.ts GitHub Actions / build
Check warning on line 274 in src/ProgressBar.ts GitHub Actions / build
|
||
*/ | ||
override set height(height: number) | ||
{ | ||
if (this.options?.nineSlicePlane) | ||
|
@@ -286,6 +299,7 @@ export class ProgressBar extends Container | |
} | ||
} | ||
|
||
/** Gets height of a ProgressBar. */ | ||
override get height(): number | ||
{ | ||
return super.height; | ||
|