Text position - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Text position (/showthread.php?tid=56) |
Text position - Pawel - 06.08.2015 In some cases I have to dynamically change text on the visualization. To do that I use "custom values" of grups on the object tab. Problem starts when I want to align in center that text, because "element position" is on the left top corner. Is there a solution to that problem, to place object not to left top corner, but center of that element? RE: Text position - admin - 07.08.2015 We have plans to make this configurable in future releases, for now you can use Custom CSS to set a fixed element width and align text to the center. Note that it won't be visible in the editor, only in user visualization. Code: .myclass { RE: Text position - buuuudzik - 08.10.2015 (07.08.2015, 06:12)admin Wrote: We have plans to make this configurable in future releases, for now you can use Custom CSS to set a fixed element width and align text to the center. Note that it won't be visible in the editor, only in user visualization. I write this code: Code: div.item.item-label {font-family: Calibri !important; color:#009530 !important; text-align: center !important;} and a font-family and a color of font in visualisation are proper but text-align is still left(default value). What am I doing wrong? RE: Text position - admin - 08.10.2015 You have to set fixed width via CSS, otherwise text-align will not work. RE: Text position - buuuudzik - 08.10.2015 (08.10.2015, 10:37)admin Wrote: You have to set fixed width via CSS, otherwise text-align will not work. It works! Thank you |