After looking at the ugfx source, it's clear that this is intended behaviour indeed, and the documentation I consulted is outdated.
You could also use justifyLeft | justifyTop | justifyNoWordWrap or even just justifyLeft | justifyNoWordWrap, which would save the computation of the word wrapping when rendering, since the word wrapping doesn't serve a purpose anyway.
(Vertically centering a text that is one line high in a box that is one line high is a no-op).
After looking at the ugfx source, it's clear that this is intended behaviour indeed, and the documentation I consulted is outdated.
You could also use
justifyLeft | justifyTop | justifyNoWordWrap
or even justjustifyLeft | justifyNoWordWrap
, which would save the computation of the word wrapping when rendering, since the word wrapping doesn't serve a purpose anyway.(Vertically centering a text that is one line high in a box that is one line high is a no-op).