Centering a 'template node' in Dashboard Group

A bit of help needed.
We have a Dashboard . We have a Group A with width = 15.
Placed a <> Template node and all works.
However, how do we get the <> Template Node to be 'CENTERED' within the Dashboard Group A ?

It seems the <>template is left justified.

Thank you for any guidance.

Did you try to wrap it with a parent like this?

<div style="text-align: center;">
    Your template here

The dashboard group that is holding this element is 15 wide
the image is showing but it is LEFT justified. Trying to Center this image element in this dashboard group.
Tried a few things including the following but not successful.

<img ng-src={{msg.payload}}  height="auto" width="100%" />

Widgets are packed into the group left to right so yes it is left justified within the group. If you make your template either width 15 - or auto (which should do the same) then inside your template you can justify as you wish.

Yup, as already mentioned, just wrap it around and you are good to go.

[{"id":"4ea938f1.c58308","type":"ui_template","z":"3a57f289.02bc66","group":"53ad7933.7f9b98","name":"","order":0,"width":0,"height":0,"format":"<div style=\"text-align: center\">\n    <img src=\"\">\n</div>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":420,"y":700,"wires":[[]]},{"id":"53ad7933.7f9b98","type":"ui_group","z":"","name":"width15","tab":"fa232f71.167e7","disp":true,"width":"15","collapse":false},{"id":"fa232f71.167e7","type":"ui_tab","z":"","name":"Test","icon":"dashboard","order":3}]

I get vertical scroll in this example but it seems to be standard Dashboard issue unfortunately.

That may be slightly better in latest master version. (not yet on npm)

Having the same kinds of problems with ui_form.

Want to center the titles, but I cant get the ui_template to correct it. I also seem to get a broken form too with sliders. I cant resize to correct it.