MaximizeSegmentHeight tells the widget to maximize the height of the individual display segments. When this option is set and the user has provided more text than we can fit on the canvas, the widget will prefer to maximize height of individual characters which will result in earlier trimming of the
()
| 83 | // on the canvas, the widget will prefer to maximize height of individual |
| 84 | // characters which will result in earlier trimming of the text. |
| 85 | func MaximizeSegmentHeight() Option { |
| 86 | return option(func(opts *options) { |
| 87 | opts.maximizeSegSize = true |
| 88 | }) |
| 89 | } |
| 90 | |
| 91 | // MaximizeDisplayedText tells the widget to maximize the amount of characters |
| 92 | // that are displayed. |