Set sizePolicy of Command to minimumExpanding.
This commit is contained in:
parent
4271200846
commit
d7f58015bb
@ -178,7 +178,7 @@ class Command(QLineEdit):
|
||||
self.setValidator(CommandValidator())
|
||||
self.returnPressed.connect(self.process_cmdline)
|
||||
self.textEdited.connect(self._histbrowse_stop)
|
||||
self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Ignored)
|
||||
self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Ignored)
|
||||
|
||||
for (key, handler) in [
|
||||
(Qt.Key_Escape, self.esc_pressed),
|
||||
|
Loading…
Reference in New Issue
Block a user