This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Hi @dar097,
I tested this case, and it seems that there is an issue with setting up the labelWidth to the editor of type switch. I will mark this as a bug, and we will investigate further the problem
Did you verify this is a real problem by searching the NativeScript Forum? No
Tell us about the problem
Setting LabelWidth for a Switch Editor does not effect it
Which platform(s) does your issue occur on?
Android
Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
form.getPropertyByName('switch_name').editor.propertyEditorStyle.labelWidth = 150;
This image shows the LayoutBorders. The Label and Switch are taking 50% width each no matter the label width given.