You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSS border-width causes text to overflow TextView #2789
Setting a border-width CSS value on a TextView cause the text to overflow the bounds of the element when using tns-core-modules 2.4.0-2016-09-21-4189. This was working correctly in 2.3.0
Reproducable using the Hello World template and the code below.
┌──────────────────┬───────────────────────┬────────────────┬───────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-core-modules │ 2.4.0-2016-09-21-4189 │ 2.3.0 │ Up to date │
│ tns-android │ │ 2.3.0 │ Not installed │
│ tns-ios │ 2.3.0 │ 2.3.0 │ Up to date │
└──────────────────┴───────────────────────┴────────────────┴───────────────┘
@3rror404 When I try this the TextView occupies the entire page and its border is drawn correctly. Are you sure you are not omitting part of the code. Maybe some dimensions set on the TextView or the TextView is in some kind of layout? Can you share the complete code to reproduce this? Thanks.
@3rror404 Never mind. I reproduced it by setting fix height. The TextView draws its border correctly but does not clip what is outside its client area.
Activity
hamorphis commentedon Sep 26, 2016
@3rror404 When I try this the TextView occupies the entire page and its border is drawn correctly. Are you sure you are not omitting part of the code. Maybe some dimensions set on the TextView or the TextView is in some kind of layout? Can you share the complete code to reproduce this? Thanks.
hamorphis commentedon Sep 26, 2016
@3rror404 Never mind. I reproduced it by setting fix height. The TextView draws its border correctly but does not clip what is outside its client area.
hamorphis commentedon Sep 26, 2016
@3rror404 Just for the record, I tried with 2.3.0 and the result is exactly the same. Nevertheless, I still need to fix this. Stay tuned...
Fix: CSS border-width causes text to overflow TextView
lock commentedon Aug 29, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.