btn-attached-left class (and other btn-attached classes) not available in Atlas UI? - Mendix Forum

btn-attached-left class (and other btn-attached classes) not available in Atlas UI?

1

I have a few buttons that I want to have next to each other with some spacing in between. When I try the styling classes following https://docs.mendix.com/howto/modeling-basics/styles#1-introduction, it's not working. Nothing happens actually. 

The buttons are placed inside an empty layout grid. 

What do I need to do to add space between the buttons using Atlas ui resources? 

asked
2 answers
0

the easiest way that I have found is that if you put them in a container with the class:  "controlgroup"
then they should get nice padding 

 

answered
0

Hello Jacob, 

You simply need to add margin to them (i.e. margin: 10px;) in CSS/SASS. If the pre-made classes don't cover margin you can use a custom class or add extra styles to the existing classes if this is meant to be consistent throughout your app.

Hope this helps

answered