driscollis / applications_with_wxpython

Code examples for the book, Creating GUI Application with wxPython
https://www.blog.pythonlibrary.org
117 stars 26 forks source link

Chapter 7 - update_archive() column defs in the repo different from book text #12

Closed cmcknight closed 5 years ago

cmcknight commented 5 years ago

The code in the book is:

    self.archive_olv.SetColumns([
        ColumnDefn("Name", "left", 350, "name"),
        ColumnDefn("Path", "left", 350, "path"),
        ColumnDefn("Size", "left", 75, "size"),
        ColumnDefn("Type", "right", 75, "type"),
        ColumnDefn("Modified", "left", 150, "modified")])

but the code in the repo is:

    self.archive_olv.SetColumns([
        ColumnDefn("Name", "left", 100, "name"),
        ColumnDefn("Path", "left", 350, "path"),
        ColumnDefn("Size", "left", 75, "size"),
        ColumnDefn("Type", "right", 75, "item_type"),
        ColumnDefn("Modified", "left", 150, "modified")])
driscollis commented 5 years ago

This has already been fixed. I think it went out in the Friday batch. Do you have the latest version of the book? Regardless, I will push out another update tonight

cmcknight commented 5 years ago

Hmm, I'm still seeing the repo showing 100 on the Name column and 350 in the book (just re-pulled from Leanpub).