Ticket UUID: | 435471 | |||
Title: | paned window problem | |||
Type: | Bug | Version: | None | |
Submitter: | nobody | Created on: | 2001-06-22 14:34:52 | |
Subsystem: | bwidget | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-01-16 09:08:09 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2002-01-16 02:08:09 | |||
Description: |
When adding a large widget to a pane of a paned window, the panes already present do no keep their relative sizes. Try the following example: package require BWidget wm geometry . 500x500 update idletasks # Create paned window pack [PanedWindow .p -side left] -fill both -expand true # Top pane set p1 [.p add -weight 100] update idletasks after 1000 # Middle pane set p2 [.p add -weight 100] update idletasks after 1000 # Bottom pane set p3 [.p add -weight 50] pack [text $p3.t] -fill both -expand true The text-widget added to the bottom pane gets most of the space on the screen. Previous versions of BWidgets PanedWindow respected the relative sizes of the panes already present. Please find attached the version of panedw.tcl with the old behaviour but compatible with BWidget 1.3.1 Kind regards, Jos. | |||
User Comments: |
hobbs added on 2002-01-16 09:08:09:
Logged In: YES user_id=72656 I believe these were addressed by Jos' patch 483838 applied to 1.4.0cvs. nobody added on 2001-06-22 21:34:55: File Added - 7672: panedw.tcl |
Attachments:
- panedw.tcl [download] added by nobody on 2001-06-22 21:34:55. [details]