Message220120
Hi Terry!
> 2. More important: when I move the slider right, the text widen and the canvas narrows relatively smoothly.
This is not due to the mixing of Pack and Grid Managers. This is due to adding Frames within a Pane Window. If I just create two empty Pane Windows, I don't get the lag. However, if I add a Frame container within Pane Window, I do. I've tried switching between using only the Pack Manager and then again using only the Grid Manager. However, that lag still exists.
I have the code here if you want to try the packed version.
```
from tkinter import *
root = Tk()
m = PanedWindow(root, orient=HORIZONTAL, sashwidth=10)
rightF = Frame(m)
leftF = Frame(m)
top = Label(leftF, text="lefgt pane", bg='blue')
bottom = Label(rightF, text="right pane", bg='red')
top.pack(fill=BOTH, expand=1)
bottom.pack(fill=BOTH, expand=1)
m.add(leftF)
m.add(rightF)
m.pack(fill=BOTH, expand=1)
mainloop()
``` |
|
Date |
User |
Action |
Args |
2014-06-09 21:22:28 | Lita.Cho | set | recipients:
+ Lita.Cho, terry.reedy, jesstess |
2014-06-09 21:22:28 | Lita.Cho | set | messageid: <1402348948.25.0.0663397457387.issue21597@psf.upfronthosting.co.za> |
2014-06-09 21:22:28 | Lita.Cho | link | issue21597 messages |
2014-06-09 21:22:27 | Lita.Cho | create | |
|