wilkelab / ggtext

Improved text rendering support for ggplot2
https://wilkelab.org/ggtext/
GNU General Public License v2.0
655 stars 37 forks source link

vectorized box_width in geom_textbox #43

Closed higgi13425 closed 3 years ago

higgi13425 commented 4 years ago

At times with geom_textbox, it would be helpful to have more control of the width of each line in each box, and to be able to make some boxes quite wide, and others more narrow. Currently geom_textbox seems to arbitrarily decide when to put in line breaks to produce even line lengths, which makes textboxes that are wide and not very tall impossible.

Alternatively, to have an option to be able to assign to all boxes an option to never wrap lines unless there is a
could also work.

# insert reprex here
clauswilke commented 3 years ago

See #53.