[gnome-control-center/wip/carlosg/display-papercuts: 11/11] display: Set a smaller width to display arrangement widget
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/carlosg/display-papercuts: 11/11] display: Set a smaller width to display arrangement widget
- Date: Fri, 8 Jul 2022 16:41:40 +0000 (UTC)
commit 4eb075e5a5c47788a2d8a1bda46604a194b2b3c6
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jul 6 14:24:29 2022 +0200
display: Set a smaller width to display arrangement widget
This default size happens to expand the panel content horizontally,
this is seen as small jumps changing between joined and cloned views.
With this slightly smaller size, no further size jumps happen.
panels/display/cc-display-panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 5f7ab2e6f..a51701a48 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1090,7 +1090,7 @@ cc_display_panel_init (CcDisplayPanel *self)
gtk_widget_init_template (GTK_WIDGET (self));
self->arrangement = cc_display_arrangement_new (NULL);
- gtk_widget_set_size_request (GTK_WIDGET (self->arrangement), 400, 175);
+ gtk_widget_set_size_request (GTK_WIDGET (self->arrangement), 375, 175);
adw_bin_set_child (self->arrangement_bin, GTK_WIDGET (self->arrangement));
g_signal_connect_object (self->arrangement, "updated",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]