mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(button-android): use setMinWidth to set TextView widgets min-width (#7804)
* fix: setMinimumWidth does not really set the minWidth for TextView widgets * chore: fix versions * refactor(android): default minWidth/Height values for button * reafctor: reset minWidth when view is in flexbox for backcompat * refactor: ensure back-compatible layout for btns * chore: cut 6.5.0 release (#8443) * release: cut 6.5.0 release * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com> Co-authored-by: vakrilov <alexander.vakrilov@telerik.com> Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com> Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1f04469fb3
commit
66cc8a477e
@@ -432,10 +432,17 @@ export abstract class ViewBase extends Observable {
|
||||
* @private
|
||||
*/
|
||||
public recycleNativeView: "always" | "never" | "auto";
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _isPaddingRelative: boolean;
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
public _ignoreFlexMinWidthHeightReset: boolean;
|
||||
|
||||
public _styleScope: any;
|
||||
|
||||
/**
|
||||
|
||||
@@ -227,6 +227,7 @@ export abstract class ViewBase extends Observable implements ViewBaseDefinition
|
||||
_oldTop: number;
|
||||
_oldRight: number;
|
||||
_oldBottom: number;
|
||||
_ignoreFlexMinWidthHeightReset: boolean;
|
||||
|
||||
public effectiveMinWidth: number;
|
||||
public effectiveMinHeight: number;
|
||||
|
||||
Reference in New Issue
Block a user