TIMOB-12027-Convert the width with units properly before setting
TIMOB-12027-Incorporated the review comments-width null check and using nativeView
Merge pull request #3903 from salachi/TIMOB-12027-borderwidth

TIMOB-12027-Convert the width with units properly before setting