Skip to content

Commit b63a968

Browse files
committed
filediff.ui: Update dialog action area layout for new GTK+ (bgo#756390)
The now-default Adwaita styling looks really bad if you don't have your dialog layout exactly what constitutes the new normal.
1 parent c4d44d9 commit b63a968

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

data/ui/filediff.ui

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@
181181
</object>
182182
<object class="GtkMessageDialog" id="check_save_dialog">
183183
<property name="can_focus">False</property>
184-
<property name="border_width">5</property>
185184
<property name="type_hint">dialog</property>
186185
<property name="skip_taskbar_hint">True</property>
187186
<property name="message_type">warning</property>
@@ -197,7 +196,7 @@
197196
<object class="GtkButtonBox" id="dialog-action_area1">
198197
<property name="visible">True</property>
199198
<property name="can_focus">False</property>
200-
<property name="layout_style">end</property>
199+
<property name="layout_style">expand</property>
201200
<child>
202201
<object class="GtkButton" id="close_button">
203202
<property name="label" translatable="yes">Close _without Saving</property>
@@ -208,7 +207,7 @@
208207
</object>
209208
<packing>
210209
<property name="expand">False</property>
211-
<property name="fill">False</property>
210+
<property name="fill">True</property>
212211
<property name="position">0</property>
213212
</packing>
214213
</child>
@@ -222,7 +221,7 @@
222221
</object>
223222
<packing>
224223
<property name="expand">False</property>
225-
<property name="fill">False</property>
224+
<property name="fill">True</property>
226225
<property name="position">1</property>
227226
</packing>
228227
</child>
@@ -236,7 +235,7 @@
236235
</object>
237236
<packing>
238237
<property name="expand">False</property>
239-
<property name="fill">False</property>
238+
<property name="fill">True</property>
240239
<property name="position">2</property>
241240
</packing>
242241
</child>

0 commit comments

Comments
 (0)