ChrisAndre / tkintertable

Automatically exported from code.google.com/p/tkintertable
Other
0 stars 0 forks source link

Table not redrawn when embodying window is maximized #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a normal TableCanvas with rows and height set to larger values (say 
30*20)
2. Click window maximize button
3. The contents of TableCanvas outside the initial window range are not 
properly displayed in the maximized window.

What is the expected output? What do you see instead?
All the contents should be properly displayed.

What version of the product are you using? On what operating system?
Latest. Linux

Please provide any additional information below.
Suggestions: in TableCanvas.createTableFrame() add:

        # Fix the bug of not being properly redrawn during maximizing
        # the default behavior only bind <Configure> event for
        # the parent frame BUT NOT for the inherited Canvas class.
        self.bind('<Configure>', lambda event: self.redrawTable())

Original issue reported on code.google.com by deve...@gmail.com on 29 Aug 2013 at 3:13