Commit eea28ea8 authored by Christian Hergert's avatar Christian Hergert
Browse files

style: add work around for 10pt Cantarell interface font

The top bar was broken for Cantarell at 10pt font because GtkEntry
was not expanding to the allotted space. (Allocation was correct,
but the draw area was not).

This simply works around the issue by using the same margin we would
get from image-button and applies it directly to margin-top.
parent 2b68613f
......@@ -17,10 +17,12 @@
<property name="visible">true</property>
<property name="popover">popover</property>
<style>
<class name="image-button"/>
<class name="button"/>
</style>
<child>
<object class="GtkImage">
<!-- we use margin-top here because .image-button doesn't work with 10pt font -->
<property name="margin-top">3</property>
<property name="visible">True</property>
<property name="icon_name">go-down-symbolic</property>
</object>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment