Skip to content

Commit a255dbb

Browse files
authored
Merge pull request #21 from bradmartin/master
Bug: remove the text size setting on auto-fit-text in constructor
2 parents b3a6bc3 + 864051f commit a255dbb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/auto-fit-text/index.android.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export class AutoFitText extends Label {
88
textField.setMaxLines(1);
99
textField.setSingleLine();
1010
textField.setMaxHeight(200);
11-
textField.setTextSize(200);
1211
textField.setMinHeight(40);
1312
textField.setTextAlignment(android.widget.TextView.TEXT_ALIGNMENT_CENTER);
1413

packages/auto-fit-text/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/auto-fit-text",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "NativeScript plugin for a label that resizes on a single line to fit the screen.",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)