on 09-12-2014 2:56 PM
Hello Guys!
Im devloping a SAPUI5 app and Im struggling at a small issue:
In the header of one of my views I want a logo left-aligned. The standard align is right Tried things like <contentLeft> but it didnt worked out..
This is my source code for this part:
[...]
<Page
title="{i18n>MasterTitle}" >
<headerContent>
<Image
src="attach/logo.jpg"
height="40px"
decorative="true">
</Image>
</headerContent>
[...]
Thx in Advance!
With best regards,
Chung
Hello Chung,
You can right align logo by using custom header and add image under contentRight aggregation of sap.m.Bar
e.g.
<Page id="page">
<customHeader>
<Bar>
<contentRight>
<Image src="img/images.jpg" height="40px"></Image>
</contentRight>
</Bar>
</customHeader>
<content>
....
</content>
</Page>
Regards,
Parag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you try with custom header
<customHeader>
<toolBar>
<image>
<toolBar>
<customHeader>
syntax is not correct, i just gave the element names.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.