100
Views
6
Comments
Format of buttons on a screen

I want to create 5 buttons on my screen in vertical format, and so far I have tried to use a button group but this leads to a horizontal block or connected buttons and I have also tried putting individual buttons on the screen, but i am not able to place them in the center of the screen in a vertical manner. How can I accomplish this. I have attatched an image of what I want this to look like


Screenshot 2024-06-06 at 1.26.46 PM.png
2023-12-14 09-56-57
Yogesh Javir

Try to add css to container as text-align:center and add button inside container.

2026-01-20 16-37-33
José Teixeira
Champion

Hello,

I tried doing your example on a Reactive Module:

Here are the Styles I added, I did it inline, but for best practices you should add them to the Stylesheet and manage the element's classes.

The widget tree looks something like this:

I've added the OML as an annex if you want to check it out for yourself!


I hope this helps,

José Teixeira

ButtonsCenter.oml
2025-12-12 03-49-32
kavita bagale

Hello,
Using Outsystems class you can align the center buttons.
eg. "display-flex flex-direction-column gap-base align-items-center"

2024-06-12 08-10-25
Zeeshan Khan

Hello Simran Sharma, 

Check oml.

Hope this will help you...

Thanks...

ButtonsFormat.oml
2024-06-07 (7).png
2024-06-07 (1).png
2022-12-30 09-46-57
Deepika Patel

Hi @Simran Sharma,

Please refer the OML. 

Hope this helps! 

Thanks, 

ButtonCenter.oml
2024-09-26 10-22-06
Siva D

Hi @Simran Sharma,

   No need to add multiple buttons  vertically, You can add the below CSS to your buttin group to achieve this. Additionally, you can add margin-bottom or top css to have spacing inbetween.


.button-group > div

display: flex;

-webkit-box-orient: vertical;

flex-direction: column; 

}



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.