[gnome-boxes] sidebar: Show a semi-transparent black border
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] sidebar: Show a semi-transparent black border
- Date: Mon, 10 Mar 2014 17:47:18 +0000 (UTC)
commit 42b9f3f592a29d5e9d3f31aeedff39c6b828c214
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Mar 10 17:46:22 2014 +0000
sidebar: Show a semi-transparent black border
This is a fix for a regression where we started to show an ugly looking
(especially at the top) border at the right side of sidebar.
data/gtk-style.css | 5 ++---
data/ui/app-window.ui | 1 +
data/ui/sidebar.ui | 4 +---
3 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 24ac8b8..be8c9d5 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -21,10 +21,9 @@ BoxesMiniGraph {
.sidebar {
background-image: url("icons/boxes-gray.png");
border-image-repeat: stretch;
- border-image-source: url("icons/boxes-dark.png");
border-style: solid;
- border-width: 2px 8px 2px 0;
- box-shadow: 2px 0 2px rgba(0,0,0,0.5);
+ border-width: 0 2px 0 0;
+ border-color: #111111;
}
.sidebar GtkTreeView:selected {
diff --git a/data/ui/app-window.ui b/data/ui/app-window.ui
index e934cd0..c8a6588 100644
--- a/data/ui/app-window.ui
+++ b/data/ui/app-window.ui
@@ -108,6 +108,7 @@
<property name="valign">fill</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
+ <property name="spacing">0</property>
<child>
<object class="BoxesSidebar" id="sidebar">
diff --git a/data/ui/sidebar.ui b/data/ui/sidebar.ui
index ffc5054..d31693a 100644
--- a/data/ui/sidebar.ui
+++ b/data/ui/sidebar.ui
@@ -10,15 +10,13 @@
<property name="vexpand">True</property>
<property name="hexpand">False</property>
<property name="halign">start</property>
- <style>
- <class name="sidebar"/>
- </style>
<child>
<object class="GtkNotebook" id="notebook">
<property name="visible">True</property>
<property name="show-tabs">False</property>
<property name="vexpand">True</property>
+ <property name="hexpand">True</property>
<style>
<class name="sidebar"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]