[meld/pathlabel] Give PathLabel widgets flat button styling
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/pathlabel] Give PathLabel widgets flat button styling
- Date: Sun, 8 Aug 2021 22:04:38 +0000 (UTC)
commit c56ed7e49b5efc70368922b5067f1f664f8dba0c
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Aug 1 07:56:14 2021 +1000
Give PathLabel widgets flat button styling
The actual button appearance is too distracting in these cases for a
widget that is supposed to be a glorified label.
meld/resources/ui/dirdiff.ui | 9 +++++++++
meld/resources/ui/filediff.ui | 9 +++++++++
2 files changed, 18 insertions(+)
---
diff --git a/meld/resources/ui/dirdiff.ui b/meld/resources/ui/dirdiff.ui
index b99cb29d..bdb2b447 100644
--- a/meld/resources/ui/dirdiff.ui
+++ b/meld/resources/ui/dirdiff.ui
@@ -33,6 +33,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Folder 1</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
@@ -64,6 +67,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Folder 2</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
@@ -95,6 +101,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Folder 3</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
diff --git a/meld/resources/ui/filediff.ui b/meld/resources/ui/filediff.ui
index 473e487f..cee5a05e 100644
--- a/meld/resources/ui/filediff.ui
+++ b/meld/resources/ui/filediff.ui
@@ -68,6 +68,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">File 3</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
@@ -126,6 +129,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">File 2</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
@@ -184,6 +190,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">File 1</property>
+ <style>
+ <class name="flat"/>
+ </style>
</object>
</child>
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]