Translations

This commit is contained in:
ItsLemmy
2025-10-09 20:26:07 -04:00
parent 3fe63f463e
commit 6b444cea07
9 changed files with 186 additions and 217 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ NBox {
text: I18n.tr("system.uptime", {
"uptime": uptimeText
})
pointSize: Style.fontSizeS * scaling
pointSize: Style.fontSizeXS * scaling
color: Color.mOnSurfaceVariant
}
}
+1 -3
View File
@@ -10,11 +10,10 @@ import qs.Widgets
NPanel {
id: root
preferredWidth: 400
preferredWidth: 360
preferredHeight: topHeight + midHeight + bottomHeight + Math.round(Style.marginL * 4)
panelKeyboardFocus: true
readonly property int topHeight: {
const columns = (Settings.data.controlCenter.quickSettingsStyle === "compact") ? 4 : 3
const rowsCount = Math.ceil(Settings.data.controlCenter.widgets.quickSettings.length / columns)
@@ -33,7 +32,6 @@ NPanel {
readonly property int midHeight: 220
readonly property int bottomHeight: 80
// Positioning
readonly property string controlCenterPosition: Settings.data.controlCenter.position
panelAnchorHorizontalCenter: controlCenterPosition !== "close_to_bar_button" && controlCenterPosition.endsWith("_center")