Changeset 4977:b05f65582735 in orange


Ignore:
Timestamp:
07/15/08 15:53:47 (6 years ago)
Author:
gregor <gregor@…>
Branch:
default
Convert:
cb8178891c9962391f29d6b8e885d7a52f0060f6
Message:
  • removed the space below the apply buttons
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Data/OWDataDomain.py

    r4795 r4977  
    2525 
    2626    def __init__(self,parent = None, signalManager = None): 
    27         OWWidget.__init__(self, parent, signalManager, "Data Domain", wantMainArea = 0) #initialize base class 
     27        OWWidget.__init__(self, parent, signalManager, "Data Domain", wantMainArea = 0)  
    2828 
    2929        self.inputs = [("Examples", ExampleTable, self.setData), ("Attribute Subset", AttributeList, self.setAttributeList)] 
     
    4747        self.loadSettings() 
    4848 
    49         w = QWidget(self) 
    50         self.controlArea.layout().addWidget(w) 
     49        import sip 
     50        sip.delete(self.controlArea.layout()) 
    5151        grid = QGridLayout() 
     52        self.controlArea.setLayout(grid) 
    5253        grid.setMargin(0) 
    53         w.setLayout(grid) 
    54  
     54                 
    5555        boxAvail = OWGUI.widgetBox(self, 'Available Attributes', addToLayout = 0) 
    5656        grid.addWidget(boxAvail, 0,0,3,1) 
     
    9191        self.metaList = OWGUI.listBox(boxMeta, self, "selectedMeta", "metaAttributes", callback = self.onSelectionChange, selectionMode = QListWidget.ExtendedSelection, enableDragDrop = 1, dragDropCallback = self.updateInterfaceAndApplyButton) 
    9292 
    93         boxApply = OWGUI.widgetBox(self, addToLayout = 0, orientation = "horizontal") 
     93        boxApply = OWGUI.widgetBox(self, addToLayout = 0, orientation = "horizontal", addSpace = 1) 
    9494        grid.addWidget(boxApply, 3,0,3,3) 
    9595        self.applyButton = OWGUI.button(boxApply, self, "Apply", callback = self.setOutput) 
     
    102102        grid.setRowStretch(1, 0) 
    103103        grid.setRowStretch(2, 2) 
    104           
    105104 
    106105        self.icons = self.createAttributeIconDict() 
Note: See TracChangeset for help on using the changeset viewer.