mirror of
https://github.com/flectar/mail.git
synced 2026-11-11 17:57:54 +00:00
fix: keep diagnostic text inside its row
This commit is contained in:
1 parent
61695393b3
commit
4cb8d54988
8 files changed
+12
-7
No files matched your search
@@ -1417,7 +1417,7 @@ msgstr ""
|
||||
msgid "Retry"
|
||||
msgstr ""
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1466,7 +1466,7 @@ msgstr "ID de diagnóstico {}"
|
||||
msgid "Retry"
|
||||
msgstr "Reintentar"
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr "Copiar datos de diagnóstico"
|
||||
|
||||
|
||||
@@ -1424,7 +1424,7 @@ msgstr ""
|
||||
msgid "Retry"
|
||||
msgstr ""
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1416,7 +1416,7 @@ msgstr ""
|
||||
msgid "Retry"
|
||||
msgstr ""
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1449,7 +1449,7 @@ msgstr "Идентификатор диагностики {}"
|
||||
msgid "Retry"
|
||||
msgstr "Повторить"
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr "Копировать диагностику"
|
||||
|
||||
|
||||
@@ -1431,7 +1431,7 @@ msgstr "Tanılama kimliği {}"
|
||||
msgid "Retry"
|
||||
msgstr "Yeniden dene"
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr "Tanılama bilgilerini kopyala"
|
||||
|
||||
|
||||
@@ -1418,7 +1418,7 @@ msgstr "诊断 ID {}"
|
||||
msgid "Retry"
|
||||
msgstr "重试"
|
||||
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:38
|
||||
#: ui/app.slint:2156 ui/components/copyable-diagnostic.slint:43
|
||||
msgid "Copy diagnostics"
|
||||
msgstr "复制诊断信息"
|
||||
|
||||
|
||||
@@ -12,7 +12,11 @@ export component CopyableDiagnostic inherits Rectangle {
|
||||
height: max(28px, diagnostic-text.preferred-height);
|
||||
background: transparent;
|
||||
|
||||
// The row is exactly as tall as its text or the copy button, so vertical
|
||||
// box padding would cut the text off.
|
||||
HorizontalBox {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
spacing: 6px;
|
||||
|
||||
diagnostic-text := TextInput {
|
||||
@@ -20,6 +24,7 @@ export component CopyableDiagnostic inherits Rectangle {
|
||||
text: root.text;
|
||||
color: root.text-color;
|
||||
font-size: root.font-size;
|
||||
vertical-alignment: center;
|
||||
read-only: true;
|
||||
single-line: false;
|
||||
wrap: word-wrap;
|
||||
|
||||
Reference in new issue
Block a user