| Issue 226: | Remove hard-coded w_limit for MTFileIconEntryView | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. MTFileBrowserView(path=start_path, view=MTFileIconEntryView, w_limit = 6)
2. MTFileIconEntryView object has w_limit set to 4, NOT 6 as requested
What is the expected output? What do you see instead?
I would expect the files to be 6 abreast, as requested, for an icon view.
What version of the product are you using? On what operating system?
Linux (fedora 11) Git HEAD
Please provide any additional information below.
The output of: git diff pymt/ui/widgets/composed/filebrowser.py
diff --git a/pymt/ui/widgets/composed/filebrowser.py
b/pymt/ui/widgets/composed/filebrowser.py
index 5c91905..f2d2dc7 100644
--- a/pymt/ui/widgets/composed/filebrowser.py
+++ b/pymt/ui/widgets/composed/filebrowser.py
@@ -117,7 +117,6 @@ class MTFileIconEntryView(MTFileEntryView):
self.size = (80, 80)
self.image = Loader.image(self.type_image)
self.selected = False
- self.browser.w_limit= 4
def draw(self):
if self.selected:
Jun 1, 2010
(No comment was entered for this change.)
Labels:
Milestone-0.5
Jun 30, 2010
Closed via GitHub: http://github.com/tito/pymt/commit/65c7bd0ed482632fae8148f46aa554a4c4b827f4 filebrowser: remove the default w_limit (fixe issues 226)
Status:
Done
|
Owner: txprog
Labels: Component-Core Milestone-0.4.1