Branch: refs/heads/working
Home: https://github.com/dabodev/dabo
Commit: c47ecc483199c6599cb28db22b0c2dc86a1ce5b6
https://github.com/dabodev/dabo/commit/c47ecc483199c6599cb28db22b0c2dc86a1ce5b6
Author: Paul McNett <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M dabo/ui/uiwx/dGrid.py
Log Message:
-----------
Fix error with invisible columns in dGrid's autoSizeColumns.
When there are one or more invisible dColumns, the column count
in Dabo will be greater than the column count in wx (wx doesn't
know about the invisible columns). So if the user right-clicks
on the grid header and chooses to auto size all columns, wx
will raise an assertion error on Windows (doesn't do that on
Linux for some reason) that the column index is greater than the
column count.
This fixes it by first checking visibility, and then converting
the dabo column index to the wx column index.
There are probably other places in the codebase where this
conversion should be made as well (whenever sending a column
index down to wx).
Commit: d0d328ab71372041eba0bf8df5654403ec80f299
https://github.com/dabodev/dabo/commit/d0d328ab71372041eba0bf8df5654403ec80f299
Author: Paul McNett <[email protected]>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M dabo/ui/uiwx/dGrid.py
Log Message:
-----------
Fix wrong column sized during user resize with invisible columns.
If the user manually resizes a grid column and it is to the right of
an invisible column, the wrong column will be resized.
This commit fixes the bug by converting to from and to the dabo
column index as appropriate.
Compare: https://github.com/dabodev/dabo/compare/91997b6c4f3e...d0d328ab7137
--- StripMime Report -- processed MIME parts ---
multipart/mixed
text/plain (text body -- kept)
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/51bb420786d31_25611083ddc53...@hookshot-fe2-pe1-prd.aws.github.net.mail