summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisenmann <p3732@getgoogleoff.me>2023-04-05 23:16:15 +0200
committerCorey Berla <corey@berla.me>2023-04-20 01:00:42 +0000
commit4b646bcd1de8b3d059ef78f9e00a590062906a10 (patch)
tree1a76603c60794211b8a86906afc2573cbb4a370c
parent9a7e8832f518c0e80f3b00157e50d94d4e8ea27f (diff)
downloadnautilus-4b646bcd1de8b3d059ef78f9e00a590062906a10.tar.gz
properties-window: use property row style for security context
Fixes #2767
-rw-r--r--src/resources/ui/nautilus-properties-window.ui33
1 files changed, 27 insertions, 6 deletions
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index b72fae9be..f10454ac5 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -865,12 +865,33 @@
<property name="visible">False</property>
<child>
<object class="AdwActionRow">
- <property name="title" translatable="yes">Security Context</property>
- <child>
- <object class="GtkLabel" id="security_context_value_label">
- <property name="selectable">True</property>
- <property name="max-width-chars">24</property>
- <property name="xalign">1</property>
+ <property name="selectable">False</property>
+ <child type="prefix">
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="spacing">3</property>
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Security Context</property>
+ <property name="hexpand">True</property>
+ <property name="ellipsize">end</property>
+ <property name="halign">start</property>
+ <style>
+ <class name="caption"/>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="security_context_value_label">
+ <property name="hexpand">True</property>
+ <property name="selectable">True</property>
+ <property name="ellipsize">end</property>
+ <property name="halign">start</property>
+ </object>
+ </child>
</object>
</child>
</object>