diff --git a/app/SettingsGeneralTab.qml b/app/SettingsGeneralTab.qml index c88b9e5..30ab7dd 100644 --- a/app/SettingsGeneralTab.qml +++ b/app/SettingsGeneralTab.qml @@ -133,9 +133,8 @@ Tab{ minimumValue: 0 onValueChanged: shadersettings.window_scaling = value; value: shadersettings.window_scaling - updateValueWhileDragging: false } - Text{text: Math.round(txtslider.__handlePos * 100) + "%"} + Text{text: Math.round(txtslider.value * 100) + "%"} } } } diff --git a/app/main.qml b/app/main.qml index c71eb7f..ad87824 100644 --- a/app/main.qml +++ b/app/main.qml @@ -30,6 +30,9 @@ ApplicationWindow{ width: 1024 height: 768 + minimumWidth: 320 + minimumHeight: 240 + title: qsTr("cool-old-term") visible: true visibility: shadersettings.fullscreen ? Window.FullScreen : Window.Windowed diff --git a/konsole-qml-plugin/src/TerminalDisplay.cpp b/konsole-qml-plugin/src/TerminalDisplay.cpp index 4c08db3..3c674b4 100644 --- a/konsole-qml-plugin/src/TerminalDisplay.cpp +++ b/konsole-qml-plugin/src/TerminalDisplay.cpp @@ -393,7 +393,9 @@ void KTerminalDisplay::setVTFont(const QFont& f) qDebug() << "Using an unsupported variable-width font in the terminal. This may produce display errors."; } - if ( metrics.height() < height() && metrics.maxWidth() < width() ) + // TODO For some reasons this is bugged with Qt 5.3 + //if ( metrics.height() < height() && metrics.maxWidth() < width() ) + if (font.pixelSize() > 0) { // hint that text should be drawn without anti-aliasing. // depending on the user's font configuration, this may not be respected