Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: b09ab2f3f57544a17c719e190eb4c9f708fe6242
Ticket: bc43fd20cf6ffdf333b8c739c42409023ccb5b15
paneconfigure not working as expected
User & Date: gcramer 2017-05-29 21:12:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed to:
    Please test the following script:
    
    <verbatim>
    pack [panedwindow .pw -width 400 -height 400 -orient vertical]
    set a [frame .a -background green]
    set b [frame .b -background orange]
    .pw add .a
    .pw add .b
    .pw paneconfigure .a -height 200
    .pw paneconfigure .b -height 200
    </verbatim>
    
    <p>
    Both panes .a and .b are configured with height 200, but .a has height 0, and .b has height 400. This result is unexpected. If I configure the height while adding the panes then it works:
    
    <verbatim>
    pack [panedwindow .pw -width 400 -height 400 -orient vertical]
    set a [frame .a -background green]
    set b [frame .b -background orange]
    .pw add .a -height 200
    .pw add .b -height 200
    </verbatim>
    
    <p>
    But the configuring of the panes should also work after the panedwindow has been created.
    
  5. foundin changed to: "8.6/8.7"
  6. is_private changed to: "0"
  7. login: "gcramer"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9b7155594aadef44d10a978838b8fe108cdafdd1"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "gcramer"
  14. subsystem changed to: "21. [panedwindow]"
  15. title changed to: "paneconfigure not working as expected"
  16. type changed to: "Bug"