LineBreakMode on Label or Button doesn't work

Why doesn't the LineBreakMode work, this is using the simulator at all?

procedure TTMSFMXNativeUIButton.CreateButton;

begin

{$IFDEF IOS}

if Assigned(FButton) then

    FButton.removeFromSuperview;



FButton := TUIButton.Wrap(TUIButton.OCClass.buttonWithType(Integer(Style)));

FButton.addTarget(FButtonEventHandler.GetObjectID, sel_getUid('Click'), UIControlEventTouchUpInside);

FButton.retain;



//this is missing

FButton.titleLabel.setLineBreakMode(integer(FLineBreakMode));



if (Style = bsButtonTypeCustom) or (Style = bsButtonTypeRoundedRect) then

begin

    UpdateText;

    UpdateBitmap;

end;

{$ENDIF}

end;

And also...



    case Alignment of

      TTextAlign.taCenter: FButton.titleLabel.setTextAlignment(UITextAlignmentCenter);

      TTextAlign.taLeading: FButton.titleLabel.setTextAlignment(UITextAlignmentLeft);

      TTextAlign.taTrailing: FButton.titleLabel.setTextAlignment(UITextAlignmentRight);

    end;

needs to be in the CreateButton procedure

Hi,


We will investigate this here if we can improve this, 

Kind Regards, 
Pieter