[nautilus/wip/corey/batch-rename: 1/2] batch-rename-dialog: Fix size and border of results list
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/corey/batch-rename: 1/2] batch-rename-dialog: Fix size and border of results list
- Date: Wed, 31 Aug 2022 23:50:59 +0000 (UTC)
commit bb646497a42729f56abfb94c0b1d38ce64111312
Author: Corey Berla <corey berla me>
Date: Sun Aug 21 21:17:03 2022 -0700
batch-rename-dialog: Fix size and border of results list
src/resources/css/Adwaita.css | 3 +++
src/resources/ui/nautilus-batch-rename-dialog.ui | 5 +++++
2 files changed, 8 insertions(+)
---
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]