aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MetaTerm.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/MetaTerm.qml b/MetaTerm.qml
index 0b2046a..9ee41a3 100644
--- a/MetaTerm.qml
+++ b/MetaTerm.qml
@@ -18,6 +18,7 @@ Rectangle {
boundsBehavior: Flickable.StopAtBounds
contentHeight: terminalList.height
contentWidth: terminalList.width
+ pixelAligned: true
Column {
id: terminalList
@@ -25,6 +26,8 @@ Rectangle {
property int activeItem : 0
+ onHeightChanged: scrollTo(activeItem)
+
function createItem() {
var terminalItem = Qt.createComponent("TerminalItem.qml");
var instantiateTerminal = function() {