joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017
02:03 PM
frustrated with incorrect RSG documentation
https://sdkdocs.roku.com/display/sdkdoc/Label
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default appears to be 10. Label.height is incorrectly calculated with default linespacing and multiple lines.
This incorrect documentation costs extra development time. Why is it incorrect, can anything be done - a proactive sweep of RSG docs to fix incorrect things??
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default appears to be 10. Label.height is incorrectly calculated with default linespacing and multiple lines.
This incorrect documentation costs extra development time. Why is it incorrect, can anything be done - a proactive sweep of RSG docs to fix incorrect things??
aspiring
5 REPLIES 5

marcelo_cabral
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017
02:43 PM
Re: frustrated with incorrect RSG documentation
"joetesta" wrote:
https://sdkdocs.roku.com/display/sdkdoc/Label
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default appears to be 10. Label.height is incorrectly calculated with default linespacing and multiple lines.
This incorrect documentation costs extra development time. Why is it incorrect, can anything be done - a proactive sweep of RSG docs to fix incorrect things??
Would also be great to have a property that returns the actual height of the Label when using multiple lines
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017
02:46 PM
Re: frustrated with incorrect RSG documentation
"marcelo.cabral" wrote:"joetesta" wrote:
https://sdkdocs.roku.com/display/sdkdoc/Label
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default appears to be 10. Label.height is incorrectly calculated with default linespacing and multiple lines.
This incorrect documentation costs extra development time. Why is it incorrect, can anything be done - a proactive sweep of RSG docs to fix incorrect things??
Would also be great to have a property that returns the actual height of the Label when using multiple lines
LOL my very next post, thanks Marcelo 🙂
aspiring
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017
05:55 PM
Re: frustrated with incorrect RSG documentation
"joetesta" wrote:
https://sdkdocs.roku.com/display/sdkdoc/Label
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default appears to be 10.
How did you get 10 as default value?
If i create a Label in HD app, i see a default of 8 for lineSpacing. In FHD though, i get 12. Just printing it in console, not hard.
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017
08:24 PM
Re: frustrated with incorrect RSG documentation
I didn't think to try printing it out, just some quick trial and error, perhaps more error 🙂
First I left the default and saw a big space, then I used linespacing=0 and saw that it was definitely not the default.
Then I tried 5 and it wasn't as big as the default, then I tried 10 and to my eyeballs it looked exactly the same as the default.
In any event, I appreciate your replies and am glad you concur the doc is wrong.
Speaking of which, back to the topic at hand, what's up with all the wrong documentation? Seems like I've been finding about one problem per day that I work on RSG. Isn't this stuff in market, how have these not been fixed yet??
12 days and nobody has time to stick a dot (• maybe?) on this page to make it correct / less confusing? https://forums.roku.com/viewtopic.php?f ... 60#p564282
First I left the default and saw a big space, then I used linespacing=0 and saw that it was definitely not the default.
Then I tried 5 and it wasn't as big as the default, then I tried 10 and to my eyeballs it looked exactly the same as the default.
In any event, I appreciate your replies and am glad you concur the doc is wrong.
Speaking of which, back to the topic at hand, what's up with all the wrong documentation? Seems like I've been finding about one problem per day that I work on RSG. Isn't this stuff in market, how have these not been fixed yet??
12 days and nobody has time to stick a dot (• maybe?) on this page to make it correct / less confusing? https://forums.roku.com/viewtopic.php?f ... 60#p564282
aspiring
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017
07:50 PM
Re: frustrated with incorrect RSG documentation
I merged reply on "dotted button" into https://forums.roku.com/viewtopic.php?f ... 57#p565457