Comment by 8organicbits
Comment by 8organicbits 3 days ago
It would be a lot easier if they didn't rename things. 'Text' becomes 'span' and 'justify' becomes 'text-align'. Unless there's more I'm missing, it looks like they've just added a layer of indirection.
rio.Text(self.name, justify="left"),
Becomes: <span style="[...] text-align: left;">Dataset 1</span>
I'd prefer: rio.Span(self.name, text_align="left")
Using the term "justify" is very common outside of web. It's been used for decades in print ("left justify / right justify / center justify"). This is indeed a web project though, so I hear what you're saying.