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

    How to make QProgress shown in the same line?

    Help
    3
    8
    756
    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
      flight9 last edited by

      QProgress seems, by default, is a block element as demos in doc:
      https://quasar-framework.org/components/progress-bar.html

      I would like to create a status bar with it, how can I make it shown as a inline element to sit aside my other icons?

      1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman last edited by metalsadman

        add loading to your q element :loading="true". i dunno how you would want a line progress bar beside an icon since i con is small. adding a :loading prop on let say a button with icon will give it a loading animation until :loading prop becomes false. better give an example maybe on how it should look like.

        F 1 Reply Last reply Reply Quote 0
        • F
          flight9 @metalsadman last edited by

          @metalsadman the status bar may look like below:
          0_1540801063820_statusbar-029161708007.jpg

          1 Reply Last reply Reply Quote 0
          • metalsadman
            metalsadman last edited by metalsadman

            @flight9 something like this? https://codesandbox.io/s/pk54042697

            1 Reply Last reply Reply Quote 1
            • Hawkeye64
              Hawkeye64 last edited by

              [Vue warn]: Method "counter" has already been defined as a data property. is because there is a property counter and a function counter causing a collision.

              1 Reply Last reply Reply Quote 0
              • metalsadman
                metalsadman last edited by

                @Hawkeye64 @flight9 fixed now, with simulated progress.

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

                  @metalsadman That looks really good!

                  1 Reply Last reply Reply Quote 0
                  • F
                    flight9 @metalsadman last edited by

                    @metalsadman awesome!

                          <div class="col-9">
                            <q-progress
                                :percentage="progress"
                                height="25px">            
                            </q-progress>      
                          </div> 
                    

                    these code can make qprogress shown inline, very helpful, thanks! 🙏

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