on 08-07-2015 9:15 AM
Hello people,
I need some help.
As can we see on SAPUI5 Explored, when we launch the 'edit mode' tiles are changing and a deletion cross appear on the upper left of every tile.
Now I created customTile in the TileContainer and I would like to get the same behaviour (deletion cross and different css style).
Do you have some ideas?
Problem solved.
It's necessary to add these two classes.
.sapMTC.sapMTCEditable .NAMECustomTileContent {
margin-top: -X.XXem;
}
// --- To go up the tile content --- //
.sapMTC.sapMTCEditable .sapMTCRemove {
background-color: #5d5d5d;
border-radius: 50%;
box-shadow: 0 1px 3px #5d5d5d;
box-sizing: border-box;
color: #ffffff;
cursor: default;
display: block;
font-family: "SAP-icons";
font-size: 20px;
height: 24px;
margin-left: -0.5em;
margin-top: -0.5em;
padding-left: 2px;
padding-top: 0;
width: 25px;
z-index: 1;
}
// ---To reveal the deletion button --- //
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.