Skip to main content

Hi,
This is what it is:
 

And this is how I want it to look like:
 

Seems like entering empty spaces at the beginning of the String doesn’t work. Any ideas on how to do it?

One way would be to add some css that will center the h2 node holding the title

Adding the following custom css to your project:

.aimms-widget[data-widget\.uri="mydemotable"] h2.title-addon{
margin: auto;
}

seems to do the trick:

 

Note that you will have to replace the “mydemotable” in the above code with the name of your widget.


Hi @gdiepen,

Thanks, it works. To add to this for a further reference for future, I just found out that left margin can also be customized as follows:

.aimms-widgettdata-widget\.uri="mydemotable"] h2.title-addon{
margin-left: 3cm;
}

Gorkem


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator