cancel
Showing results for 
Search instead for 
Did you mean: 

Different aligment for buttons in semantic:customFooterContent

FranciscoSAP
Advisor
Advisor
0 Kudos

Good afternoon fellow developers:

Entry level question here but I've lost more time than I'd like to admit with this issue. I am trying to include a Message Popover for error handling in one my apps and in the same footer I need my MessagePopover button to be left or start aligned, and the rest of my buttons (Save, share, delete, etc) to be right aligned, as defined in Fiori standards.
Refer to this sample for a glimpse at what I'm trying to achieve: MessagePopover Sample.

I've tried using the xml <ToolbarSpacer/> tag, and the Hbox control. No matter what I try I end up with no results, or with all my buttons being left aligned and not just the one included inside my Hbox. See my current code below:


And its corresponding output:

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor

Custom buttons will only come right side and it only supports buttons., you canot show it on left side. But if you use semanticpage FullScreen, then it automaticaly show the message button, you just need to populate the messages, check the below example.

https://ui5.sap.com/#/entity/sap.m.semantic.SemanticPage/sample/sap.m.sample.SemanticPageFullScreen

Else you can go with the regular m.page and have indepth customizating.

Answers (1)

Answers (1)

TheGokke
Active Participant
0 Kudos

Why do you put it in a HBox? and why don't you add the button as a semantic action?