Hello!
I got this problem. I've created a panel and in the header there are some buttons. The coding is:
//Create a panel instance
var oPanel = new sap.ui.commons.Panel({width: "350px"});
//Settings of the panel
oPanel.setTitle(new sap.ui.commons.Title({text: "This is the panel"}));
oPanel.setHeight("76px");
oPanel.setWidth("100%");
//Add some buttons to the panel header
oPanel.addButton(new sap.ui.commons.Button({text: 'Help'}));
How can I align the button to the right side of the panel header? If it's not possible, what are other possibilities?
Thanks in advance!