diff options
Diffstat (limited to 'qml/main.qml')
-rw-r--r-- | qml/main.qml | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/qml/main.qml b/qml/main.qml index a2355e9..ef17a99 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -18,7 +18,7 @@ ApplicationWindow { boundsBehavior: Flickable.StopAtBounds contentHeight: terminalList.height - contentWidth: terminalList.width + contentWidth: parent.width pixelAligned: true Column { @@ -26,6 +26,11 @@ ApplicationWindow { property int activeItem : 0 + anchors { + left: parent.left + right: parent.right + } + spacing: 10 onHeightChanged: scrollTo(activeItem) @@ -118,8 +123,6 @@ ApplicationWindow { nextTerminalAction.enabled = false; heightenTerminalAction.enabled = false; shortenTerminalAction.enabled = false; - widenTerminalAction.enabled = false; - narrowTerminalAction.enabled = false; prevTerminalAction.enabled = false; lastTerminalAction.enabled = false; firstTerminalAction.enabled = false; @@ -137,8 +140,6 @@ ApplicationWindow { nextTerminalAction.enabled = true; heightenTerminalAction.enabled = true; shortenTerminalAction.enabled = true; - widenTerminalAction.enabled = true; - narrowTerminalAction.enabled = true; prevTerminalAction.enabled = true; lastTerminalAction.enabled = true; firstTerminalAction.enabled = true; @@ -170,20 +171,6 @@ ApplicationWindow { } Action { - id: widenTerminalAction - shortcut: "Shift+L" - enabled: false - onTriggered: terminalList.getCurrent().widen() - } - - Action { - id: narrowTerminalAction - shortcut: "Shift+H" - enabled: false - onTriggered: terminalList.getCurrent().narrow() - } - - Action { id: prevTerminalAction shortcut: "k" enabled: false |