Emre
Emre

Reputation: 153

How can I show tile horizantally in Sapui5?

How can I show tile horizontally in Sapui5. I am using tile container. This container scrolling right but I want scroll down side.

Upvotes: 0

Views: 1094

Answers (1)

Qualiture
Qualiture

Reputation: 4920

So, if the TileContainer does not fulfill your needs, then why not use the ScrollContainer instead?

<ScrollContainer
  height="100%"
  width="100%"
  vertical="true" 
  content="{
    path: '/TileCollection'
  }">
    <StandardTile
      icon="sap-icon://{icon}"
      type="{type}"
      number="{number}"
      numberUnit="{numberUnit}"
      title="{title}"
      info="{info}"
      infoState="{infoState}" 
      press="handlePress"/>
</ScrollContainer>

Upvotes: 1

Related Questions