[gnome-control-center] printers: Allow printer name and location labels to hexpand
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Allow printer name and location labels to hexpand
- Date: Tue, 21 Nov 2017 16:19:15 +0000 (UTC)
commit 950ca7f5cc658576349e70f16b2b540451a42e2a
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Nov 21 14:54:26 2017 +0100
printers: Allow printer name and location labels to hexpand
Since the main control-center window can now be resized, there's
no reason for us to constrain the printer name and location labels
from expanding horizontally.
https://bugzilla.gnome.org/show_bug.cgi?id=790665
panels/printers/printer-entry.ui | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/panels/printers/printer-entry.ui b/panels/printers/printer-entry.ui
index 32675b2..5ac2eb1 100644
--- a/panels/printers/printer-entry.ui
+++ b/panels/printers/printer-entry.ui
@@ -121,7 +121,8 @@
<property name="hexpand">True</property>
<property name="halign">start</property>
<property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
- <property name="max-width-chars">30</property>
+ <property name="width-chars">30</property>
+ <property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.2"/>
@@ -191,7 +192,6 @@
<property name="visible">True</property>
<property name="label" translatable="yes">Model</property>
<property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
- <property name="max-width-chars">30</property>
<property name="halign">end</property>
<property name="xalign">1</property>
<style>
@@ -209,6 +209,7 @@
<property name="visible">True</property>
<property name="halign">start</property>
<property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
@@ -237,7 +238,7 @@
<property name="visible">True</property>
<property name="halign">start</property>
<property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
- <property name="max-width-chars">30</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]