forked from AuroraMiddleware/gtk
Add a GtkFrame inside GtkActionBar
This is needed to set a padding and draw a border since GtkBox does not honour css padding yet. https://bugzilla.gnome.org/show_bug.cgi?id=724693
This commit is contained in:
parent
7fbcff8d71
commit
d3c2819401
@ -8,15 +8,21 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="center_box">
|
||||
<object class="GtkFrame" id="frame">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">0</property>
|
||||
<property name="spacing">6</property>
|
||||
<style>
|
||||
<class name="action-bar"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkBox" id="center_box">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">0</property>
|
||||
<property name="spacing">6</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user