[gnome-chat] ui: Fix double borders
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chat] ui: Fix double borders
- Date: Thu, 26 Sep 2013 12:33:11 +0000 (UTC)
commit 6b9fe604d8050fa1a7bf9e506ef9db7d2ad35310
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 26 14:24:21 2013 +0200
ui: Fix double borders
Relying on GtkFrame's shadow for borders will give us additional
vertical borders that are already covered by the sidebar's border;
to avoid double borders, explicitly set the borders we actually need.
src/chat-embed.ui | 6 ++++++
src/chat.css | 5 +++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/chat-embed.ui b/src/chat-embed.ui
index 4629e5e..4cbec0e 100644
--- a/src/chat-embed.ui
+++ b/src/chat-embed.ui
@@ -48,6 +48,9 @@
<object class="GtkFrame" id="status_area">
<property name="can_focus">False</property>
<property name="visible">True</property>
+ <style>
+ <class name="chat-status-area"/>
+ </style>
<child>
<object class="GtkGrid" id="status_area_grid0">
<property name="can_focus">False</property>
@@ -140,6 +143,9 @@
<property name="hexpand">True</property>
<property name="vexpand">False</property>
<property name="visible">True</property>
+ <style>
+ <class name="chat-main-input-area"/>
+ </style>
<child>
<object class="GtkEntry" id="message_entry">
<property name="activates_default">True</property>
diff --git a/src/chat.css b/src/chat.css
index 53d6fcb..8b4f186 100644
--- a/src/chat.css
+++ b/src/chat.css
@@ -6,6 +6,11 @@
border-width: 0 0 0 1px;
}
+.chat-status-area,
+.chat-main-input-area {
+ border-width: 1px 0 0 0;
+}
+
chat-left-header-bar:dir(ltr) {
border-right-width: 1px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]