Changeset 11518:25344bdd7781 in orange


Ignore:
Timestamp:
05/13/13 17:56:58 (11 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Changed the main window default size.

Location:
Orange/OrangeCanvas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/application/canvasmain.py

    r11515 r11518  
    196196 
    197197        self.restore() 
    198  
    199         self.resize(800, 600) 
    200198 
    201199    def setup_ui(self): 
     
    16821680            QMainWindow.changeEvent(self, event) 
    16831681 
     1682    def sizeHint(self): 
     1683        """ 
     1684        Reimplemented from QMainWindow.sizeHint 
     1685        """ 
     1686        hint = QMainWindow.sizeHint(self) 
     1687        return hint.expandedTo(QSize(1024, 720)) 
     1688 
    16841689    def tr(self, sourceText, disambiguation=None, n=-1): 
    16851690        """Translate the string. 
  • Orange/OrangeCanvas/main.py

    r11339 r11518  
    171171 
    172172    canvas_window = CanvasMainWindow() 
    173     canvas_window.resize(1024, 650) 
    174173 
    175174    if not options.force_discovery: 
Note: See TracChangeset for help on using the changeset viewer.