freenode/#clim - IRC Chatlog
Search
5:57:00
jackdaniel
let's imagine for a moment, that draw-text* is capable of drawing multiline-text. alignment is then taken as of first line, or a whole block?
6:18:58
jackdaniel
given they are treated for all text lines, bottom alignment against blue line (with 10dp offset) looks like this: https://files.mastodon.social/media_attachments/files/005/356/869/original/6240cae36c535e5c.png
6:20:19
scymtym
i don't think there is a universal answer. you would probably need combinations like '({:first-line,:last-line} {:top,:bottom,:baseline})
6:26:39
jackdaniel
given interpretation, that :baseline always goes after first line to start and all others take whole block (nb :top wouldn't differ from one-line), are there practical situations, which wouldn't be covered by that? I can only think of situation, when you'd want :baseline-last-line (for example to make text growing upwards in editor-pane)
6:31:50
jackdaniel
also, taking whole block for top/bottom/center would be consistent with what :align-x does
7:00:02
scymtym
i agree that :center, :top, :bottom, :first-line-baseline and :last-line-baseline seem like the most useful combinations