Changeset 965:63e290b4ba1e


Ignore:
Timestamp:
05/16/19 16:57:46 (4 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The heading of the delay code table appears properly (re #347)

File:
1 edited

Legend:

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

    r919 r965  
    3535            so high to fit into the VBox."""
    3636            if self._vboxHeight is not None:
     37                allocation.y += 1
    3738                allocation.height = self._vboxHeight - allocation.y
    3839                self._vboxHeight = None
     
    126127            gtk.Alignment.do_size_allocate(self, allocation)
    127128
     129    class TreeView(gtk.TreeView):
     130        def do_size_allocate(self, allocation):
     131            allocation.height += 1
     132            gtk.TreeView.do_size_allocate(self, allocation)
     133
    128134#------------------------------------------------------------------------------
    129135
     
    241247        self._delayCodeData = None
    242248
    243         self._treeView = gtk.TreeView(gtk.ListStore(str, str))
     249        self._treeView = TreeView(gtk.ListStore(str, str))
    244250        self._treeView.set_rules_hint(True)
    245251
Note: See TracChangeset for help on using the changeset viewer.