Hello
I am looking a solution to solve this kind of issue …
Let take the GridSimple.py exemple from demo. I just increased width of Column D.
When I click on any cell in column D I get:
But I would like to keep focus on col 0 like this:
If there is something simple that can do that I am interested …
Stephane
Robin
January 18, 2014, 9:39pm
2
Stéphane Bausson wrote:
Hello
I am looking a solution to solve this kind of issue ...
Let take the GridSimple.py exemple from demo. I just increased width of
Column D.
<https://lh3.googleusercontent.com/-f8vzxQtjJv0/Ute5TZ-WhEI/AAAAAAAACgc/OBX_ktMA-VY/s1600/sc1.png> ;
When I click on any cell in column D I get:
<https://lh6.googleusercontent.com/-5vDXPlfH3Eg/Ute5vGWyuvI/AAAAAAAACgk/ArPAwH1cVqU/s1600/sc2.png> ;
That is intended. The window scrolls so as much as possible of the focused control is visible.
But I would like to keep focus on col 0 like this:
<https://lh6.googleusercontent.com/-X8xNJ9VdXCc/Ute57D9SCWI/AAAAAAAACgs/e41V_ai7vxU/s1600/sc3.png> ;
If there is something simple that can do that I am interested ...
No. Probably the best you can do is to catch the scroll events and move it back to where you want it after it has done the initial scroll, and that will look very ugly to the user.
···
--
Robin Dunn
Software Craftsman
Have no fear “Metallicow is here”