No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

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

    newbie question: change height and font size component

    Framework
    font component
    2
    4
    470
    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.
    • F
      frankz last edited by

      I need to reduce the size (height) of the text input component and use less vertical separation space between them.
      how can I do ?
      I should fit 25 lines on one screen (h = 1024px)
      how to set defaut font size?

      1 Reply Last reply Reply Quote 0
      • I
        ilabutk last edited by

        Put into a div and use class like q-col-gutter-xs

        <div class=“row q-col-gutter-xs”>
        <div class=“col-4” v-for=“n in 5” :key="xs-${n}">
        <div class=“my-content”> </div>
        </div>
        Refer to https://quasar.dev/layout/grid/gutter#Classes-“q-gutter-{size}” for more.
        </div>

        1 Reply Last reply Reply Quote 0
        • F
          frankz last edited by

          for the space between the components is fine.
          but for the size (height) and therefore the font size
          of the single component how should I do it?
          The component I’m particularly interested in is “input-text”.
          example if by default it uses size 14px and font-size 14px I would like to change it 10px and 10px respectively.

          1 Reply Last reply Reply Quote 0
          • F
            frankz last edited by

            or similar to element-ui “input” where you can set size (default, medium, small, mini)

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