Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Sizing of QChartView in Dock Widget

Sizing of QChartView in Dock Widget

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 984 Views
  • 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.
  • V Offline
    V Offline
    vorlket
    wrote on last edited by
    #1

    How do you make a QChartView in a dock widget follow resizing of dock widget while it's undocked, in Qt Designer?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Insert a layout into the dock,
      then insert QChartView into the layout.
      http://doc.qt.io/qt-5/layout.html

      1 Reply Last reply
      4
      • V Offline
        V Offline
        vorlket
        wrote on last edited by
        #3

        Thanks. It doesn't work with inserting the chartview within the layout, but works if using the layout toolbar for setting the layout of the dock widget, after inserting chartview.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved