Ignore:
Timestamp:
07/01/12 17:38:25 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added a scroll window around the file lists in the checklist and the approach callouts editors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/checklist.py

    r266 r268  
    149149        self._fileList.set_tooltip_column(1)
    150150        self._fileList.set_reorderable(True)
    151         self._fileList.set_size_request(200, -1)
    152151        selection = self._fileList.get_selection()
    153152        selection.set_mode(SELECTION_MULTIPLE)
    154153        selection.connect("changed", self._fileListSelectionChanged)
    155154
    156         fileBox.pack_start(self._fileList, False, False, 4)
     155        scrolledWindow = gtk.ScrolledWindow()
     156        scrolledWindow.add(self._fileList)
     157        scrolledWindow.set_size_request(200, -1)
     158        scrolledWindow.set_policy(POLICY_AUTOMATIC, POLICY_AUTOMATIC)
     159        scrolledWindow.set_shadow_type(SHADOW_IN)
     160
     161        fileBox.pack_start(scrolledWindow, False, False, 4)
    157162
    158163        contentArea.pack_start(fileBox, True, True, 4)
Note: See TracChangeset for help on using the changeset viewer.