Ticket UUID: | 556077 | |||
Title: | Tree::see should only scroll vertically | |||
Type: | Patch | Version: | None | |
Submitter: | jenglish | Created on: | 2002-05-14 19:09:19 | |
Subsystem: | bwidget | Assigned To: | hobbs | |
Priority: | 3 Low | Severity: | ||
Status: | Closed | Last Modified: | 2002-10-15 02:42:08 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2002-10-14 19:42:08 | |||
Description: |
The Tree::see $n command scrolls both horizontally and vertically to bring the label for node $n in view. However, if the label is too large to fit within the window, the horizontal scrolling obscures the tree controls (icons and checkboxes). The attached patch fixes this problem by removing the horizontal scroll entirely. | |||
User Comments: |
hobbs added on 2002-10-15 02:42:08:
Logged In: YES user_id=72656 patch #3 in 1.4.2. jenglish added on 2002-06-20 04:52:44: File Added - 25428: tree-widget.patch Logged In: YES user_id=68433 Take 3: this version ensures that the left edge of the label is visible; if it is off the right or left side of the window, it scrolls horizontally so that the left edge of the label is aligned with the left edge of the window. This feels the best so far. jenglish added on 2002-06-20 04:17:43: File Added - 25425: tree-widget.patch Logged In: YES user_id=68433 JeffH points out that the tree should scroll horizontally if the label is completely off-screen. The amended patch (version 2) implements this behaviour: if the label is completely off screen, the tree scrolls so that the left edge of the label lines up with the left edge of the window (modulo -xscrollincrement). jenglish added on 2002-05-15 02:09:19: File Added - 23091: tree-widget.patch |
Attachments:
- tree-widget.patch [download] added by jenglish on 2002-06-20 04:52:44. [details]