Python Forum
[PyQt] How to clip layout to sides and bottom of main window?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] How to clip layout to sides and bottom of main window?
#1
A simple window (QWidget) with a status bar. I add some kind of layout to insert a textbox and a few labels in a horizontal line-up. But how to I attach the layout - haven't decided yet which one - to the left, right and bottom of the window? So that if the window resizes or even maximizes, the layout always stays at the bottom or at least attacked to the sides? (Wasn't this called "clipping"?).

I thought for a second that maybe there's a QWidget Resize Signal which I could attach to some slot to resize the frame and repaint the the frame and its contents or something, but such a signal doesn't exist.
Reply


Messages In This Thread
How to clip layout to sides and bottom of main window? - by Valmont - Mar-24-2021, 12:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 486 Mar-17-2024, 09:37 AM
Last Post: deanhystad
Exclamation [Tkinter] Error when closing the main window with destroy TomasSanchexx 1 773 Aug-06-2023, 01:54 AM
Last Post: deanhystad
  [PyGUI] How to reuse a window layout based on mysql rowcount? retroisbest 2 2,450 Nov-09-2021, 09:02 AM
Last Post: retroisbest
  [PyQt] Can't get MDIarea to resize automatically with Main Window JayCee 4 3,463 Aug-02-2021, 08:47 PM
Last Post: JayCee
  "tkinter.TclError: NULL main window" Rama02 1 5,841 Feb-04-2021, 06:45 PM
Last Post: deanhystad
  pyqt5 layout Nickd12 8 3,482 Jan-18-2021, 09:09 AM
Last Post: Axel_Erfurt
  [Tkinter] Hi, Keep postition of main window after iconify() delphinis 3 3,100 Jul-12-2020, 06:59 AM
Last Post: DT2000
  [Tkinter] Auto re-fit frames sizes in main window Gilush 2 2,647 Jun-06-2020, 03:14 AM
Last Post: Gilush
  [Tkinter] How to add multiple frames to main window Dandy_Don 13 7,938 Apr-29-2020, 09:21 PM
Last Post: Dandy_Don
  tkinter window and turtle window error 1885 3 6,714 Nov-02-2019, 12:18 PM
Last Post: 1885

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020