Commits

Aleš Erjavec committed ce769ae

Fixed LineEdit's initial size/layout.

  • Participants
  • Parent commits c21c730

Comments (0)

Files changed (1)

File Orange/OrangeCanvas/gui/lineedit.py

 
         slot = _ActionSlot(position, action, button, False)
         self.__actions[position - 1] = slot
+
+        if not self.testAttribute(Qt.WA_Resized):
+            # Need some sensible height to do the layout.
+            self.adjustSize()
+
         self.__layoutActions()
 
     def actionAt(self, position):