1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Refactor main and terminal container.

This commit is contained in:
Filippo Scognamiglio
2014-12-11 01:48:30 +01:00
parent dcb332b06f
commit 6b9a2ed5d2
2 changed files with 27 additions and 37 deletions

View File

@@ -110,7 +110,13 @@ ApplicationWindow{
}
TerminalContainer{
id: terminalContainer
anchors.fill: parent
width: parent.width * shadersettings.window_scaling
height: parent.height * shadersettings.window_scaling
transform: Scale {
xScale: 1 / shadersettings.window_scaling
yScale: 1 / shadersettings.window_scaling
}
}
SettingsWindow{
id: settingswindow
@@ -120,5 +126,13 @@ ApplicationWindow{
id: aboutDialog
visible: false
}
Loader{
anchors.centerIn: parent
active: shadersettings.show_terminal_size
sourceComponent: SizeOverlay{
z: 3
terminalSize: terminalContainer.terminalSize
}
}
Component.onCompleted: shadersettings.handleFontChanged();
}