This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Align values to right
#10
(11.03.2017, 23:03)Erwin van der Zwart Wrote: Hi Thomas,

Try this: (add to custom css and give text element additional class 'right-align' and you might need to adjust the min-width rule depending on your text  size)

Code:
.right-align {
    text-align: right !important;
    min-width: 150px;
}

BR,

Erwin
Hi Erwin

I just tried this, but it did not change the alignment on my value objects. I have copied the code above to the CSS, and added 'right-align' to the additional classes for all values in a table created in a widget, but all values still has left alignment.

Is there something else I need to do in order to get this working?

Trond
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
Align values to right - by Thomas - 11.03.2017, 16:52
RE: Align values to right - by Trond Hoyem - 30.03.2017, 11:47
RE: Align values to right - by Thomas - 12.03.2017, 13:30
RE: Align values to right - by Thomas - 12.03.2017, 15:32
RE: Align values to right - by Thomas - 13.03.2017, 12:02
RE: Align values to right - by admin - 14.03.2017, 10:52

Forum Jump: