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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user