Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Button icons size can not be altered

    Help
    1
    2
    1270
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MusicForMellons last edited by

      The docs seem to indicate that when you use custom size (or use one of the default sizes) for a button the icon size adjusts accordingly. See docs and this picture:0_1525267339890_Screenshot from 2018-05-02 15-18-29.png

      However when I use e.g. this button:
      <q-btn
      v-if="$route.name === ‘home’"
      class=“absolute-top-left”
      flat
      round
      wait-for-ripple
      dense
      size=“160px”
      color=“primary”
      icon=“close”
      @click.native=“goToSignIn”
      />
      The button indeed grows but icon stays same size. Same for other size values. I thought it might relate to using mdi icons, but when I use the default material icons I get same behavior. What’s wrong/ what am I doing wrong?

      1 Reply Last reply Reply Quote 0
      • M
        MusicForMellons last edited by

        See this for a solution and whether that’s how it should be done…:
        https://github.com/quasarframework/quasar/issues/2033

        1 Reply Last reply Reply Quote 0
        • First post
          Last post