This is a migrated thread and some comments may be shown as answers.

TKPropertyEditor width styling

1 Answer 87 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vamsi
Top achievements
Rank 1
Vamsi asked on 20 Sep 2017, 01:05 PM

TKPropertyEditor with labelPosition "Top" is wrapped nicely to the next line if the text length of the label is more than the screen size on android, but on iOs its not and its not displaying the full label. Pleas see the attached screenshots for difference between Android and iOS.

 

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsonev
Telerik team
answered on 21 Sep 2017, 07:32 AM
Hello, Vamsi,

Thank you for reporting this issue.
I reviewed this scenario and indeed the text in iOS will not be wrapped correctly. Regarding that, I logged new issue here, where you could keep track on it for further info.

In the meantime, I would suggest using labelTextSize property and to change the font size with the appropriate value, which will display fully the text.
For example:
<TKEntityProperty displayName="testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttestt" tkPropertyGroupProperties name="email">
            <TKPropertyEditor  tkEntityPropertyEditor type="Email">
                <TKPropertyEditorStyle  tkPropertyEditorStyle strokeColor="#00695c" strokeWidth="2" fillColor="#4db6ac" labelHidden="false"
                    labelTextSize="10" ios:labelFontName="Times New Roman" ios:textWrap="true" android:labelFontName="sans-serif-light" labelFontStyle="Italic"
                    labelPosition="Top" labelWidth="60" labelTextColor="#00695c"></TKPropertyEditorStyle>
                </TKPropertyEditor>
        </TKEntityProperty>


Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
DataForm
Asked by
Vamsi
Top achievements
Rank 1
Answers by
Nikolay Tsonev
Telerik team
Share this question
or