[gtk/columnview-layout: 2/4] gtk-demo: Improve wrapping in settings demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/columnview-layout: 2/4] gtk-demo: Improve wrapping in settings demo
- Date: Fri, 5 Jun 2020 13:53:41 +0000 (UTC)
commit 2a6dc67fd70e8b41415f04deadbde12f6c3c833b
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 5 09:35:56 2020 -0400
gtk-demo: Improve wrapping in settings demo
The columnview overrides the width of its content,
so if a label is not willing to wrap its content
below a certain width, it will just get cut off.
Avoid that by not setting width-chars on the wrapping
content.
demos/gtk-demo/listview_settings.ui | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/demos/gtk-demo/listview_settings.ui b/demos/gtk-demo/listview_settings.ui
index 82410e718a..cf2651d50b 100644
--- a/demos/gtk-demo/listview_settings.ui
+++ b/demos/gtk-demo/listview_settings.ui
@@ -204,8 +204,6 @@
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="wrap">1</property>
- <property name="width-chars">50</property>
- <property name="max-width-chars">50</property>
<binding name="label">
<lookup name="summary" type="SettingsKey">
<lookup name="item">GtkListItem</lookup>
@@ -237,8 +235,6 @@
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="wrap">1</property>
- <property name="width-chars">50</property>
- <property name="max-width-chars">50</property>
<binding name="label">
<lookup name="description" type="SettingsKey">
<lookup name="item">GtkListItem</lookup>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]