Changeset 1403:e1679f377f8a in orange-bioinformatics


Ignore:
Timestamp:
05/23/11 14:52:39 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
055f1bf22462e368da237626bb0c18f7ef1b5973
Message:

Fixes for label layout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWHeatMap.py

    r1401 r1403  
    733733            list.setFont(font) 
    734734            list.setContentsMargins(0.0, 0.0, 0.0, 0.0) 
    735             list.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.MinimumExpanding) 
     735            list.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Expanding) 
    736736             
    737737            layout.addItem(list, i*2 + 5, len(self.heatmaps) + 2) 
     
    15001500        self.orientation = orientation 
    15011501        self.text_item = text_item 
    1502         self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding) 
    15031502        if orientation == Qt.Vertical: 
    15041503            self.text_item.rotate(-90) 
    1505             self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed) 
    1506         else: 
    1507             self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.MinimumExpanding) 
     1504            self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed) 
     1505        else: 
     1506            self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Expanding) 
    15081507         
    15091508    def setGeometry(self, rect): 
Note: See TracChangeset for help on using the changeset viewer.