[evince/wip/gpoo/gtk4-preparation] properties: Use composite template for the Fonts property tab
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-preparation] properties: Use composite template for the Fonts property tab
- Date: Sat, 5 Mar 2022 04:07:37 +0000 (UTC)
commit 9798eb24e844931811133ca4a32c27e321638d7b
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sat Mar 5 00:50:58 2022 -0300
properties: Use composite template for the Fonts property tab
Co-authored-by: Qiu Wenbo <qiuwenbo kylinos com cn>
properties/ev-properties-view.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c
index 8d5a96213..e01d93d3c 100644
--- a/properties/ev-properties-view.c
+++ b/properties/ev-properties-view.c
@@ -451,9 +451,12 @@ ev_properties_view_init (EvPropertiesView *properties)
properties->grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (properties->grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (properties->grid), 6);
- gtk_container_set_border_width (GTK_CONTAINER (properties->grid), 12);
gtk_box_pack_start (GTK_BOX (properties), properties->grid, TRUE, TRUE, 0);
gtk_widget_show (properties->grid);
+ gtk_widget_set_margin_bottom (properties->grid, 12);
+ gtk_widget_set_margin_top (properties->grid, 12);
+ gtk_widget_set_margin_start (properties->grid, 12);
+ gtk_widget_set_margin_end (properties->grid, 12);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]