Changeset 7869:f253cdc4b35e in orange


Ignore:
Timestamp:
04/20/11 17:16:44 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
3e35491dc2fae2723d3ea486d8e529e65359a8ae
Message:

Added label arguments to OWGUI.toolButton function calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize/OWParallelCoordinates.py

    r7787 r7869  
    9999        resizeColsBox = OWGUI.widgetBox(box, 0, "horizontal", 0) 
    100100        OWGUI.label(resizeColsBox, self, "Increase/decrease distance: ") 
    101         b = OWGUI.toolButton(resizeColsBox, self, self.increaseAxesDistance, tooltip = "Increase the distance between the axes", width=30, height = 20) 
    102         b.setText("+") 
    103         b = OWGUI.toolButton(resizeColsBox, self, self.decreaseAxesDistance, tooltip = "Decrease the distance between the axes", width=30, height = 20) 
    104         b.setText("-") 
     101        b = OWGUI.toolButton(resizeColsBox, self, "+", callback=self.increaseAxesDistance, tooltip = "Increase the distance between the axes", width=30, height = 20) 
     102        b = OWGUI.toolButton(resizeColsBox, self, "-", callback=self.decreaseAxesDistance, tooltip = "Decrease the distance between the axes", width=30, height = 20) 
    105103        OWGUI.rubber(resizeColsBox) 
    106104        OWGUI.checkBox(box, self, "graph.autoUpdateAxes", "Auto scale X axis", tooltip = "Auto scale X axis to show all visualized attributes", callback = self.updateGraph) 
Note: See TracChangeset for help on using the changeset viewer.