cancel
Showing results for 
Search instead for 
Did you mean: 

Status symbol and button in header content

Former Member
0 Kudos

Hey,

I wanna show a status symbol in the head of my master list. I have this piece of code:

        <semantic:customHeaderContent>
            <Button id="flushButton" icon="sap-icon://synchronize" press=""/>
            <ObjectStatus id="synchronizedStatus" visible="true" state="Error" icon="sap-icon://alert"/>
        </semantic:customHeaderContent>

But there is only one UI element showed, the button. When I change the order, only the status symbol is shown. How can I establish that both UI elements are shown?

Thanks for your help and best regards,

David

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member203031
Contributor
0 Kudos

Hi David,

As you are trying these to display on the header of the page so you have to "ContentLeft ContentRight ContentMiddle".


Hope it works for you.


Thanks,

Deepak.

karthikarjun
Active Contributor
0 Kudos

Hi David- Keep button and label in Vbox.

<semantic:customHeaderContent>
<VBox>
<Button id="flushButton" icon="sap-icon://synchronize" press=""/>
<ObjectStatus id="synchronizedStatus" visible="true" state="Error" icon="sap-icon://alert"/>
</VBox>
</semantic:customHeaderContent>

Regards,

Karthik A

maheshpalavalli
Active Contributor
0 Kudos

Hi,

Please put both of them in a VBox or HBox UI element then it should solve your problem.

Regards,
Mahesh