Closed psychemedia closed 3 years ago
I also note that if I have a title over several lines (eg title_text="Title\nSubtitle"
) the size of the title bar does not expand and the text overflows into the area below the title bar.
The latest version should fix this issue, and you can also now specify the width of the title bar yourself (which should allow you to fit your multi-line titles). As for the other items, I'd recommend opening feature request issues for each request (which makes them more manageable from my POV).
If I use the
title_position
argument torayshader::add_title()
(for example,title_position='south') when constructing a
rayshaderimage, the text label is relocated but the
title_bar` seems to be stuck in place at the top of the image rather than also being relocated so it continues to sit behind the title?Speaking as a user (rather than an R developer, which I'm not!), a couple of other things I have noticed in terms of function usability that could make
add_title()
more powerful, eg for overlaying "TV style" transparent graphics:title_position='center'
, perhaps allow a percentage width to be specified (so egwidth_pc=80
would have a width of 80% of the image width).