[gnome-control-center/expand-subtitle-labels-to-2-lines-in-rows: 1/2] lock: Expand row subtitles to a second line




commit a932bea7f33dfb3b637820592c9499bd17642175
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Oct 6 12:24:41 2021 +0200

    lock: Expand row subtitles to a second line
    
    The HdyActionRow subtitle usually contains a longer description
    of the preference/option relative to the widget. Depending on the
    language used, the label could get long and unreadable (ellipsized).
    
    https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/643 added
    the "subtitle-lines" property to tackle this specific issue.
    
    Fixes #1358
    Fixes #1486

 panels/lock/cc-lock-panel.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/panels/lock/cc-lock-panel.ui b/panels/lock/cc-lock-panel.ui
index f32dde111..6255195ff 100644
--- a/panels/lock/cc-lock-panel.ui
+++ b/panels/lock/cc-lock-panel.ui
@@ -43,6 +43,7 @@
                         <property name="visible">true</property>
                         <property name="title" translatable="yes">Blank Screen Delay</property>
                         <property name="subtitle" translatable="yes">Period of inactivity after which the 
screen will go blank.</property>
+                        <property name="subtitle-lines">2</property>
                         <property name="activatable-widget">blank_screen_combo</property>
                         <property name="sensitive" bind-source="blank_screen_combo" 
bind-property="sensitive"/>
                         <property name="use-underline">true</property>
@@ -81,6 +82,7 @@
                         <property name="visible">true</property>
                         <property name="title" translatable="yes">Automatic _Screen Lock Delay</property>
                         <property name="subtitle" translatable="yes">Period after the screen blanks when the 
screen is automatically locked.</property>
+                        <property name="subtitle-lines">2</property>
                         <property name="activatable-widget">lock_after_combo</property>
                         <property name="sensitive" bind-source="lock_after_combo" bind-property="sensitive"/>
                         <property name="use-underline">true</property>
@@ -119,6 +121,7 @@
                         <property name="visible">false</property>
                         <property name="title" translatable="yes">Forbid new _USB devices</property>
                         <property name="subtitle" translatable="yes">Prevent new USB devices from 
interacting with the system when the screen is locked.</property>
+                        <property name="subtitle-lines">2</property>
                         <property name="activatable-widget">usb_protection_switch</property>
                         <property name="use-underline">true</property>
                         <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]