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.setValidator(CommandValidator())
|
||||||
self.returnPressed.connect(self.process_cmdline)
|
self.returnPressed.connect(self.process_cmdline)
|
||||||
self.textEdited.connect(self._histbrowse_stop)
|
self.textEdited.connect(self._histbrowse_stop)
|
||||||
self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Ignored)
|
self.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Ignored)
|
||||||
|
|
||||||
for (key, handler) in [
|
for (key, handler) in [
|
||||||
(Qt.Key_Escape, self.esc_pressed),
|
(Qt.Key_Escape, self.esc_pressed),
|
||||||
|
Loading…
Reference in New Issue
Block a user