Skip to content

Commit 8b2af88

Browse files
committed
feat(taskbar): add title display options and width settings
- Updated the Taskbar QML component to conditionally render titles and adjusted layout accordingly. - Enhanced the settings UI to include toggles and sliders for the new title display options, ensuring they are only enabled for horizontal taskbars. - Default values for the new settings are set to hide titles and a width of 120 pixels.
1 parent 46f8810 commit 8b2af88

14 files changed

Lines changed: 269 additions & 31 deletions

File tree

Assets/Translations/de.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Zeige nur Apps von dem Bildschirm, auf dem sich die Taskbar befindet.",
318318
"label": "Nur vom gleichen Bildschirm"
319+
},
320+
"show-title": {
321+
"description": "Fenstertitel in der Taskleiste anzeigen.",
322+
"description-disabled": "Vertikale Taskleiste unterstützt keine Titelanzeige.",
323+
"label": "Titel anzeigen"
324+
},
325+
"title-width": {
326+
"description": "Breite der Fenstertitel in der Taskleiste festlegen (in Pixel).",
327+
"label": "Titelbreite",
328+
"reset-tooltip": "Titelbreite zurücksetzen"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/en.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Show only apps from the output where the bar is located.",
318318
"label": "Only from same output"
319+
},
320+
"show-title": {
321+
"description": "Display window titles in the taskbar.",
322+
"description-disabled": "Vertical taskbar does not support showing titles.",
323+
"label": "Show title"
324+
},
325+
"title-width": {
326+
"description": "Set the width of window titles in the taskbar (in pixels).",
327+
"label": "Title width",
328+
"reset-tooltip": "Reset title width"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/es.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Muestra solo las aplicaciones del resultado donde se encuentra la barra.",
318318
"label": "Solo de la misma salida"
319+
},
320+
"show-title": {
321+
"description": "Mostrar títulos de ventanas en la barra de tareas.",
322+
"description-disabled": "La barra de tareas vertical no admite mostrar títulos.",
323+
"label": "Mostrar título"
324+
},
325+
"title-width": {
326+
"description": "Establecer el ancho de los títulos de ventanas en la barra de tareas (en píxeles).",
327+
"label": "Ancho del título",
328+
"reset-tooltip": "Restablecer ancho del título"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/fr.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Afficher uniquement les applications de la sortie où la barre est située.",
318318
"label": "Seulement à partir de la même sortie"
319+
},
320+
"show-title": {
321+
"description": "Afficher les titres des fenêtres dans la barre des tâches.",
322+
"description-disabled": "La barre des tâches verticale ne prend pas en charge l'affichage des titres.",
323+
"label": "Afficher le titre"
324+
},
325+
"title-width": {
326+
"description": "Définir la largeur des titres de fenêtres dans la barre des tâches (en pixels).",
327+
"label": "Largeur du titre",
328+
"reset-tooltip": "Réinitialiser la largeur du titre"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/ja.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "バーが配置されているディスプレイ上のアプリのみを表示します。",
318318
"label": "同じディスプレイのみ"
319+
},
320+
"show-title": {
321+
"description": "タスクバーにウィンドウタイトルを表示します。",
322+
"description-disabled": "縦型タスクバーはタイトル表示に対応していません。",
323+
"label": "タイトルを表示"
324+
},
325+
"title-width": {
326+
"description": "タスクバーのウィンドウタイトルの幅を設定します(ピクセル単位)。",
327+
"label": "タイトル幅",
328+
"reset-tooltip": "タイトル幅をリセット"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/nl.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Toon alleen apps van de output waarop de balk zich bevindt.",
318318
"label": "Alleen van dezelfde output"
319+
},
320+
"show-title": {
321+
"description": "Venster titels weergeven in de taakbalk.",
322+
"description-disabled": "Verticale taakbalk ondersteunt geen titelopties.",
323+
"label": "Titel weergeven"
324+
},
325+
"title-width": {
326+
"description": "Stel de breedte van venstertitels in de taakbalk in (in pixels).",
327+
"label": "Titelbreedte",
328+
"reset-tooltip": "Titelbreedte resetten"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/pt.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Mostrar apenas os aplicativos da saída onde a barra está localizada.",
318318
"label": "Apenas da mesma saída"
319+
},
320+
"show-title": {
321+
"description": "Exibir títulos de janelas na barra de tarefas.",
322+
"description-disabled": "A barra de tarefas vertical não suporta exibir títulos.",
323+
"label": "Mostrar título"
324+
},
325+
"title-width": {
326+
"description": "Definir a largura dos títulos de janelas na barra de tarefas (em pixels).",
327+
"label": "Largura do título",
328+
"reset-tooltip": "Redefinir largura do título"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/ru.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Показывать только приложения с того же вывода, где расположена панель.",
318318
"label": "Только с того же вывода"
319+
},
320+
"show-title": {
321+
"description": "Отображать заголовки окон на панели задач.",
322+
"description-disabled": "Вертикальная панель задач не поддерживает отображение заголовков.",
323+
"label": "Показать заголовок"
324+
},
325+
"title-width": {
326+
"description": "Установить ширину заголовков окон на панели задач (в пикселях).",
327+
"label": "Ширина заголовка",
328+
"reset-tooltip": "Сбросить ширину заголовка"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/tr.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Sadece çubuğun bulunduğu çıktıdan uygulamaları göster.",
318318
"label": "Sadece aynı çıktıdan"
319+
},
320+
"show-title": {
321+
"description": "Görev çubuğunda pencere başlıklarını göster.",
322+
"description-disabled": "Dikey görev çubuğu başlık göstermeyi desteklemiyor.",
323+
"label": "Başlığı göster"
324+
},
325+
"title-width": {
326+
"description": "Görev çubuğundaki pencere başlıklarının genişliğini ayarla (piksel olarak).",
327+
"label": "Başlık genişliği",
328+
"reset-tooltip": "Başlık genişliğini sıfırla"
319329
}
320330
},
321331
"taskbar-grouped": {

Assets/Translations/uk-UA.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"only-same-output": {
317317
"description": "Показувати тільки програми з виходу, де розташована панель.",
318318
"label": "Тільки з того ж виходу"
319+
},
320+
"show-title": {
321+
"description": "Відображати заголовки вікон на панелі завдань.",
322+
"description-disabled": "Вертикальна панель завдань не підтримує відображення заголовків.",
323+
"label": "Показати заголовок"
324+
},
325+
"title-width": {
326+
"description": "Встановити ширину заголовків вікон на панелі завдань (у пікселях).",
327+
"label": "Ширина заголовка",
328+
"reset-tooltip": "Скинути ширину заголовка"
319329
}
320330
},
321331
"taskbar-grouped": {

0 commit comments

Comments
 (0)