Skip to content

Commit 4c335fe

Browse files
committed
fix: ios remove unwanted padding
1 parent 117bbad commit 4c335fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/label.ios.ts

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ export class Label extends LabelBase {
189189
bottom: 0,
190190
right: 0
191191
};
192+
view.textContainer.lineFragmentPadding = 0; // to remove left padding
193+
// view.textContainer.lineBreakMode = NSLineBreakMode.ByCharWrapping;
192194
return view;
193195
}
194196

0 commit comments

Comments
 (0)