code: def adjustButtons( self ):
          
          y = 1
          
          for btn in self.buttons():
              btn.setIconSize(self.iconSize())
              btn.setFixedSize(QSize(self.height() - 2, self.height() - 2))
          
          # adjust the location for the left buttons
          left_buttons = self._buttons.get(Qt.AlignLeft, [])
          x = (self.cornerRadius() / 2.0) + 2
          
          for btn in left_buttons:
              btn.move(x, y)
              x += btn.width()
          
          # adjust the location for the right buttons
          right_buttons = self._buttons.get(Qt.AlignRight, [])
          
          w       = self.width()
          bwidth  = sum([btn.width() for btn in right_buttons])
          bwidth  += (self.cornerRadius() / 2.0) + 1
          
          for btn in right_buttons:
              btn.move(w - bwidth, y)
              bwidth -= btn.width()
          
          self._buttonWidth = sum([btn.width() for btn in self.buttons()])
          self.adjustTextMargins()
docs: Adjusts the placement of the buttons for this line edit.