We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cdfb1f commit 528ccb9Copy full SHA for 528ccb9
src/label.ios.ts
@@ -415,6 +415,8 @@ export class Label extends LabelBase {
415
const height = Utils.layout.getMeasureSpecSize(heightMeasureSpec);
416
const heightMode = Utils.layout.getMeasureSpecMode(heightMeasureSpec);
417
let resetFont;
418
+ // reset insent or it will taken into account for measurement
419
+ this.updateVerticalAlignment(false);
420
if (this.autoFontSize) {
421
const finiteWidth = widthMode === Utils.layout.EXACTLY;
422
const finiteHeight = heightMode === Utils.layout.EXACTLY;
0 commit comments