mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-27 17:09:37 +01:00
Drop value wrapping, raise the detail row by one line
192 to 207 px, the height of one more reading. Values go back to a single ellipsised line.
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
longest label in whichever panel it lands in, so no pixel count is picked
|
||||
here and it follows the translation. -->
|
||||
<Style Selector="ctl|SettingRow.Compact">
|
||||
<Setter Property="Margin" Value="0,0,0,3" />
|
||||
<Setter Property="Margin" Value="0,0,0,5" />
|
||||
</Style>
|
||||
<!-- Right-aligned: an Auto column hugs the longest label, so anything shorter
|
||||
would otherwise hang in space away from its own control. MaxWidth stops one
|
||||
@@ -232,14 +232,6 @@
|
||||
<Setter Property="MinWidth" Value="26" />
|
||||
<Setter Property="Margin" Value="6,0,0,0" />
|
||||
</Style>
|
||||
<!-- A read-only row has no widget, so its value owns the rest of the line and
|
||||
can wrap onto a second one. Ellipsis is right for a reading that shares the
|
||||
row with a control, but here it hides the end of names that are the whole
|
||||
point of the panel - an operator, a depot, a texture author. -->
|
||||
<Style Selector="ctl|SettingRow.Compact:no-content /template/ TextBlock#PART_Value">
|
||||
<Setter Property="TextWrapping" Value="Wrap" />
|
||||
<Setter Property="TextTrimming" Value="None" />
|
||||
</Style>
|
||||
<Style Selector="ctl|SettingRow.Compact /template/ TextBlock#PART_Description">
|
||||
<Setter Property="Margin" Value="0,2,0,0" />
|
||||
</Style>
|
||||
|
||||
Reference in New Issue
Block a user