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. how to fit QplainTextEdit size with QMainWindow
Forum Updated to NodeBB v4.3 + New Features

how to fit QplainTextEdit size with QMainWindow

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 639 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    hunterx101
    wrote on last edited by
    #1

    how to fit QplainTextEdit size automaticly with QMainWindow that designed in QTDesigner

    raven-worxR 1 Reply Last reply
    0
    • H hunterx101

      how to fit QplainTextEdit size automaticly with QMainWindow that designed in QTDesigner

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @hunterx101
      what is designed in QtDesigner?
      IIRC the QtDesigner doesn't have a QMainWindow element?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        right click on the background of the mainwidow, Lay Out -> lay out vertically

        See http://doc.qt.io/qt-5/designer-layouts.html

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        2
        • H Offline
          H Offline
          hunterx101
          wrote on last edited by
          #4

          @VRonin
          thanks it's work for me

          1 Reply Last reply
          0

          • Login

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