Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
fix(ui): wrap long captions in preset dialogs
BlackSpiritsa7a59a34f649
diff --git a/src/Filee.App/Views/PresetEditorView.axaml b/src/Filee.App/Views/PresetEditorView.axamlindex 470d8fb9..084b5d2e 100644--- a/src/Filee.App/Views/PresetEditorView.axaml+++ b/src/Filee.App/Views/PresetEditorView.axaml@@ -8,6 +8,9 @@x:Class="Filee.App.Views.PresetEditorView"x:DataType="vm:PresetEditorViewModel"><UserControl.Styles>+ <Style Selector="TextBlock.label">+ <Setter Property="TextWrapping" Value="Wrap" />+ </Style><!-- Translated choices can need more than one line, particularly in the 440 px preset dialog. --><Style Selector="ComboBox:not(.targets)"><Setter Property="HorizontalContentAlignment" Value="Stretch" />diff --git a/tests/Filee.App.Tests/PortugueseRenderTests.cs b/tests/Filee.App.Tests/PortugueseRenderTests.csindex 4dc95eb1..99461170 100644--- a/tests/Filee.App.Tests/PortugueseRenderTests.cs+++ b/tests/Filee.App.Tests/PortugueseRenderTests.cs@@ -60,6 +60,11 @@ public class PortugueseRenderTeststext.TextLayout.Height <= text.Bounds.Height + 1,$"{language} at {width}px: '{text.Text}' is cut off ({text.TextLayout.Width}×{text.TextLayout.Height} in {text.Bounds.Size})");}+ foreach (var label in window.GetVisualDescendants().OfType<TextBlock>()+ .Where(t => t.IsEffectivelyVisible && t.Classes.Contains("label")))+ Assert.True(label.TextLayout.Width <= label.Bounds.Width + 1 &&+ label.TextLayout.Height <= label.Bounds.Height + 1,+ $"{language} at {width}px: field label '{label.Text}' is cut off");}finally{