Several Suggestions

Hi,

can you add the following to TTMSFMXNativeNSTextField in further versions? 

TTMSFMXNativeNSTextField = class(TTMSFMXNativeNSBaseControl)
private
 FText: string;
 FTextAlign: TTextAlign;
...
   procedure SetTextAlign(const Value: TTextAlign);
...
published
   property TextAlign: TTextAlign read FTextAlign write SetTextAlign;
...

procedure TTMSFMXNativeNSTextField.SetTextAlign(const Value: TTextAlign);
begin
   FTextAlign := Value;
   UpdateText;
end;
...
procedure TTMSFMXNativeNSTextField.UpdateText;
begin
{$IFDEF MACOS}
if Assigned(FTextField) then
   begin
    FTextField.setStringValue(NSStr(FText));
    case FTextAlign of
    TTextAlign.taCenter:  FTextField.setAlignment(2);
    TTextAlign.taLeading: FTextField.setAlignment(0);
    TTextAlign.taTrailing: FTextField.setAlignment(1);
    end;
   end;
{$ENDIF}
end;

Is it also possible to add NSOutlineView as well as nspopupbutton? It seem to be that almost no application uses a regular combobox and provides the popupbutton instead.


Christian

Dear Christian, 


Thank you for your feedback,
We have added this on our feature request list.

Kind Regards, 
Pieter

Great, also a nice idea would be to add the text field in a combobox. 

Right now i have to read the content via: UTF8ToString(TMSFMXNativeNSComboBox1.ComboBox.stringValue.UTF8String)

Cheers,
Christian