Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70615

Header layout

$
0
0

@greengold wrote:

I’m just curious…
I have a custom menu/header component marked up like this:

<ion-header>
  <ion-navbar>
    <ion-grid>

      <ion-row>
        <ion-col align-items-start>
          <button *ngIf="true" ion-button menuToggle>
            <ion-icon name="menu"></ion-icon>
          </button>
          <ion-title>{{ titleTranslate }}</ion-title>
        </ion-col>

        <ion-col align-items-end>
        <span>
          credit: €{{credit}}
        </span>
        </ion-col>
      </ion-row>
      
    </ion-grid>
  </ion-navbar>
</ion-header>

and it looks like this:
image

so you see I wanted to have items aligned on two sides in one row. obvious question is why I don’ t? :smiley:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>