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 2,544 Mar-17-2024, 09:37 AM
Last Post: deanhystad
Exclamation [Tkinter] Error when closing the main window with destroy TomasSanchexx 1 1,751 Aug-06-2023, 01:54 AM
Last Post: deanhystad
  [PyGUI] How to reuse a window layout based on mysql rowcount? retroisbest 2 3,470 Nov-09-2021, 09:02 AM
Last Post: retroisbest
  [PyQt] Can't get MDIarea to resize automatically with Main Window JayCee 4 5,034 Aug-02-2021, 08:47 PM
Last Post: JayCee
  "tkinter.TclError: NULL main window" Rama02 1 7,322 Feb-04-2021, 06:45 PM
Last Post: deanhystad
  pyqt5 layout Nickd12 8 6,201 Jan-18-2021, 09:09 AM
Last Post: Axel_Erfurt
  [Tkinter] Hi, Keep postition of main window after iconify() delphinis 3 4,222 Jul-12-2020, 06:59 AM
Last Post: DT2000
  [Tkinter] Auto re-fit frames sizes in main window Gilush 2 3,521 Jun-06-2020, 03:14 AM
Last Post: Gilush
  [Tkinter] How to add multiple frames to main window Dandy_Don 13 12,322 Apr-29-2020, 09:21 PM
Last Post: Dandy_Don
  tkinter window and turtle window error 1885 3 8,254 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