Ignore:
Timestamp:
10/24/13 19:43:07 (6 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Make widgets non resizable (if requested) also on non windows platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/OWWidget.py

    r11291 r11746  
    2525        self.setLayout(QVBoxLayout()) 
    2626        self.layout().setMargin(2) 
     27 
     28        if not resizingEnabled: 
     29            self.layout().setSizeConstraint(QLayout.SetFixedSize) 
     30            self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed) 
    2731 
    2832        self.topWidgetPart = OWGUI.widgetBox(self, orientation="horizontal", margin=0) 
Note: See TracChangeset for help on using the changeset viewer.