kImageAnnotator icon indicating copy to clipboard operation
kImageAnnotator copied to clipboard

Add reflowing capability to the text tool.

Open epic6666 opened this issue 4 years ago • 1 comments

  • Current behavior

Suppose a single line of text with no line breaks was inserted into a text box. If the text box is resized such that its horizontal dimension is smaller than that of the line of text, the line of text is not reflowed to fit the text box even if enough vertical space to fit it existed in the box.

  • Requested behavior

The text tool automatically does its best at fitting a given string of text onto a given textbox size (maybe respecting the fact that it shouldn't split words apart in order to do this, maybe not).

This is basically what the ShareX text tool does.

As discussed in https://github.com/ksnip/ksnip/issues/364

epic6666 avatar Jun 30 '20 15:06 epic6666