Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to create labels like a fraction using data from two columns. I have tried to use:
"Field" || '\n' || '――' || '\n' || "Field2"
but it doesn't look good. How can I do it using other method?
Here I have added the picture
I solved it by using \n—\n separator (em-dash in the middle) and setting multiline height to 0.6 and multiline alignment to center (in the "Formatting" sub-tab).
Required, but never shown