window: Use sp instead of px for breakpoints
sp is a unit provided by libadwaita for sclae-independent pixels. This unit changes with the text scale factor. Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
This commit is contained in:
parent
a5cb0606b4
commit
77c81c8f7c
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwBreakpoint">
|
<object class="AdwBreakpoint">
|
||||||
<condition>max-width: 590px</condition>
|
<condition>max-width: 590sp</condition>
|
||||||
<setter object="properties_flap" property="orientation">vertical</setter>
|
<setter object="properties_flap" property="orientation">vertical</setter>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue