[gnome-control-center] power: Ellipsize the labels of the battery row
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] power: Ellipsize the labels of the battery row
- Date: Fri, 7 May 2021 02:53:34 +0000 (UTC)
commit 29255094722277a1339d7d4f5a9e8f5dce2eb63c
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Jan 8 16:30:12 2021 +0100
power: Ellipsize the labels of the battery row
This helps the window fit any size, including the narrow one of phones.
panels/power/cc-battery-row.ui | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/panels/power/cc-battery-row.ui b/panels/power/cc-battery-row.ui
index 932e5d39f..dec97a9fe 100644
--- a/panels/power/cc-battery-row.ui
+++ b/panels/power/cc-battery-row.ui
@@ -28,6 +28,8 @@
<child>
<object class="GtkLabel" id="name_label">
<property name="visible">True</property>
+ <property name="ellipsize">end</property>
+ <property name="xalign">0</property>
</object>
</child>
<child>
@@ -79,6 +81,8 @@
<child>
<object class="GtkLabel" id="details_label">
<property name="visible">True</property>
+ <property name="ellipsize">end</property>
+ <property name="xalign">0</property>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]