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

Right sidemenu and second button in navbar

$
0
0

@max_maeuschen wrote:

I have a sidemenu on the right and want to place a second button. I tried the following code:

<ion-navbar primary *navbar>
    <button menuToggle>
        <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>Home</ion-title>
    <ion-buttons end>
        <button (click)="selectTopic()">
            <ion-icon name="list"></ion-icon>
        </button>
        <button menuToggle="rightMenu" *ngIf="isAndroid">
            <ion-icon name="more"></ion-icon>
        </button>
        <button (click)="showModal()" *ngIf="!isAndroid">
            <ion-icon name="add"></ion-icon>
        </button>
    </ion-buttons>
</ion-navbar>

The problem is, that the second button (name="list") and the the button for menuToggle (name="more") are shown on android devices above each other and not next to each other.

Can you help me?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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