summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-08-21 21:17:03 -0700
committerAntónio Fernandes <antoniof@gnome.org>2022-09-01 00:02:26 +0000
commit5ca3f8310ca510d50d1496221af17253407fb7f1 (patch)
tree8bc2faea8dc91e74e10904fe9205ed0c344186b1
parent3b0ca028ea015f4aa62f9e46d17ff53e158ae8ef (diff)
downloadnautilus-5ca3f8310ca510d50d1496221af17253407fb7f1.tar.gz
batch-rename-dialog: Fix size and border of results list
-rw-r--r--src/resources/css/Adwaita.css3
-rw-r--r--src/resources/ui/nautilus-batch-rename-dialog.ui5
2 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 841f3d33d..1d478ad54 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -134,6 +134,9 @@
padding:2px;
}
+.batch-rename-preview {
+ border-top: solid @borders 1px;
+}
.conflict-row {
background: @warning_bg_color;
color: @warning_fg_color;
diff --git a/src/resources/ui/nautilus-batch-rename-dialog.ui b/src/resources/ui/nautilus-batch-rename-dialog.ui
index 01db45181..7da1e95c4 100644
--- a/src/resources/ui/nautilus-batch-rename-dialog.ui
+++ b/src/resources/ui/nautilus-batch-rename-dialog.ui
@@ -309,12 +309,16 @@
<property name="min-content-height">250</property>
<property name="max-content-width">600</property>
<property name="min-content-width">600</property>
+ <style>
+ <class name="batch-rename-preview"/>
+ </style>
<property name="child">
<object class="GtkViewport">
<property name="child">
<object class="GtkBox" id="a_box">
<child>
<object class="GtkListBox" id="original_name_listbox">
+ <property name="hexpand">True</property>
<property name="selection_mode">GTK_SELECTION_NONE</property>
</object>
</child>
@@ -325,6 +329,7 @@
</child>
<child>
<object class="GtkListBox" id="result_listbox">
+ <property name="hexpand">True</property>
<property name="selection_mode">GTK_SELECTION_NONE</property>
</object>
</child>