[gtk/wip/antoniof/dont-hard-code-properties-if-buildable] paned: Don't override properties when buildable
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/antoniof/dont-hard-code-properties-if-buildable] paned: Don't override properties when buildable
- Date: Sat, 1 Jan 2022 21:41:16 +0000 (UTC)
commit 850565b8e857cc266ed649d786bbef8d307c2695
Author: António Fernandes <antoniojpfernandes gmail com>
Date: Sat Jan 1 21:41:07 2022 +0000
paned: Don't override properties when buildable
We set GtkPaned:{shrink,resize}-{start,end}-child when adding children
as buildable.
This overrides whatever value the UI definition had set for the properties.
Even if not set explicitly, the properties have a default value anyway.
This fixes an issue I found while porting nautilus to GTK 4, as the
start child was shrinkable even though :shrink-start-child was set
to FALSE in the .ui file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]