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. Resize plainTextEdit to fill up size of window

Resize plainTextEdit to fill up size of window

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 525 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.
  • T Offline
    T Offline
    thistleknot
    wrote on last edited by
    #1

    If I expand the window to "see more of the document" similar to how notepad works. the plainTextEdit box stays the same size. Is there a way to dynamically resize the plainTextEdit to be based on the window's height/width.

    BTW, I have two plainTextBox's that I have side by side (kind of like winmerge) that I wish to do this with.

    here's some info:

    http://qt-project.org/doc/qt-5/qsizepolicy.html#setHorizontalStretch

    nevermind:

    http://qt-project.org/doc/qt-5/designer-layouts.html

    got it

    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