Good morning,
i found a bug, if i write the text in the editor inside a SfTextInputLayout with AutoSize="TextChanges" all works fine, but if i set the text using the code after the InitializeComponent() of the main page and then i change the text the autoresize doesn't work correctly, seems to keep the starting size.
My code:
<sfTextInputLayout:SfTextInputLayout x:Name="sfTextInputLayout_Settings_LicenseData" ContainerType="Outlined" OutlineCornerRadius="8" ReserveSpaceForAssistiveLabels="False" FocusedColor="#007bff" ErrorColor="#dc3545" Hint="LicenseData" LeadingViewPosition="Inside">
<sfTextInputLayout:SfTextInputLayout.LeadingView>
<ImageButton x:Name="imageButton_Settings_PasteLicenseDataFromClipboard" HeightRequest="20" Aspect="AspectFit" Source="glyphicons_30_clipboard.png" Clicked="ImageButton_Settings_PasteLicenseDataFromClipboard_Clicked"/>
</sfTextInputLayout:SfTextInputLayout.LeadingView>
<Editor x:Name="editor_LicenseData" AutoSize="TextChanges"/>
</sfTextInputLayout:SfTextInputLayout>
Text setted after InitializeComponent() with:
this.editor_LicenseData.Text = this.configurationDBData.LicenseData;
Attached you can find a video.
Thanks in advance
Attachment:
20191029_092642_7915f704.7z