[gnome-builder/wip/chergert/layout] symbol-tree: don't propagate natural size of menu button
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/layout] symbol-tree: don't propagate natural size of menu button
- Date: Tue, 4 Jul 2017 22:18:07 +0000 (UTC)
commit c0e1aab81cd0542529d37a90d6b60e7fe6479d54
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 4 15:12:54 2017 -0700
symbol-tree: don't propagate natural size of menu button
This makes sure we don't keep propagating the width of the label
as a natural size for the pane. Doing so makes things
unpredictable inside the multi-paned.
plugins/symbol-tree/gbp-symbol-menu-button.ui | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-tree/gbp-symbol-menu-button.ui b/plugins/symbol-tree/gbp-symbol-menu-button.ui
index bf4316b..1363702 100644
--- a/plugins/symbol-tree/gbp-symbol-menu-button.ui
+++ b/plugins/symbol-tree/gbp-symbol-menu-button.ui
@@ -56,10 +56,11 @@
<template class="GbpSymbolMenuButton" parent="GtkMenuButton">
<property name="popover">popover</property>
<child>
- <object class="GtkBox">
+ <object class="DzlBox">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">6</property>
+ <property name="max-width-request">50</property>
<property name="hexpand">true</property>
<property name="visible">true</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]