Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/gui/lineedit.py

    r11366 r11452  
    107107        slot = _ActionSlot(position, action, button, False) 
    108108        self.__actions[position - 1] = slot 
     109 
     110        if not self.testAttribute(Qt.WA_Resized): 
     111            # Need some sensible height to do the layout. 
     112            self.adjustSize() 
     113 
    109114        self.__layoutActions() 
    110115 
Note: See TracChangeset for help on using the changeset viewer.