Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: ac952086a17c4bc06bb1d7f38fa06e4efb979bbe9bfb28d3b62415ea5d9efac0
Ticket: 3733b924a2c3d5df2607fbcde54eb0c3bca19cd1
Window not resizing on KDE
User & Date: oehhar 2024-05-03 15:33:19
Changes

  1. icomment:
    Yes, it is hard for the folks on this side to understand.
    
    Normally, by setting a discrete size, you say "this size".
    
    I suppose, the "root.resizable(0,0)" enables/disables windows decoration for resizing for the window. I suppose, your 2nd "root.resize" should have parameters (1,1).
    
    To my experience, the fact if a window manager may change size is controlled if an explicit size is active.
    
    Thus, after "f1.config(width=500,height=100)" there should be a command added to make resizing possible again.
    
    AFAIK, it might be the window managers responsability to honor this or not. It is also highly platform dependent...
    
    Take care,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"