mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-11-03 00:22:17 +00:00
Reduce default font size.
This commit is contained in:
@@ -94,7 +94,10 @@ QtObject{
|
||||
|
||||
// FONTS //////////////////////////////////////////////////////////////////
|
||||
|
||||
readonly property real baseFontScaling: 0.75
|
||||
property real fontScaling: 1.0
|
||||
property real totalFontScaling: baseFontScaling * fontScaling
|
||||
|
||||
property real fontWidth: 1.0
|
||||
|
||||
property bool lowResolutionFont: false
|
||||
@@ -150,7 +153,7 @@ QtObject{
|
||||
if (index === undefined) return;
|
||||
|
||||
fontManager.item.selectedFontIndex = index;
|
||||
fontManager.item.scaling = fontScaling * windowScaling;
|
||||
fontManager.item.scaling = totalFontScaling * windowScaling;
|
||||
|
||||
var fontSource = fontManager.item.source;
|
||||
var pixelSize = fontManager.item.pixelSize;
|
||||
|
||||
Reference in New Issue
Block a user