I'd like to be able to control the width of ui.copyable_text elements so that I can make it match the width of other elements on a page. As many ui methods have a width arg, this seems like a reasonable way to do it.
I've tried forcing the width to change through zones or wrapping it with ui.inline.
Note what I see now is either full width or the box shrinks to some predetermined size, no matter what I try:
I'd like to be able to control the width of
ui.copyable_text
elements so that I can make it match the width of other elements on a page. As manyui
methods have awidth
arg, this seems like a reasonable way to do it.I've tried forcing the width to change through
zones
or wrapping it withui.inline
.Note what I see now is either full width or the box shrinks to some predetermined size, no matter what I try: