RE: How to change one specific color in GtkTreeView
- From: "Lance Capser (lmcapser)" <lmcapser micron com>
- To: alexsson <andrei alexsson gmail com>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: RE: How to change one specific color in GtkTreeView
- Date: Wed, 12 Nov 2014 16:19:43 +0000
You will need to provide a custom CSS definition to override the GtkTreeView 'sorted' column background color:
GtkTreeView column:sorted {
background-color: #000000; /* specify custom background color for the 'sorted' column here
*/
}
GtkTreeView column:sorted row:nth-child(even) {
background-color: #101010; /* specify custom background color for alternate rows if rules-hint
is true */
}
You should be able to change the colors by updating the existing CSS definitions, or by adding a new set of
styles via Gtk.CssProvider
-----------------
Lance Capser
-----Original Message-----
From: gtk-list [mailto:gtk-list-bounces gnome org] On Behalf Of alexsson
Sent: Wednesday, November 12, 2014 2:12 AM
To: gtk-list gnome org
Subject: How to change one specific color in GtkTreeView
I use FlatStudioDark GTK theme from here:
http://gnome-look.org/content/show.php?content=154296
In that theme I have some problems to change one specific color (I think is one of the GtkTreeView element).
Let me show you with pictures.
You see in the picture the file-browser "Thunar", I want to have the same color over all rows and columns,
for example the columns: "Name", "Size", "Type" all show the same colors in each row, but the selected "Date
Modified" on the right is more dark for the rows (or area). How do I change the darkened color in "Date
Modified" to be the same as the other columns and rows?
<http://gtk.10911.n7.nabble.com/file/n85693/screenshot2.png>
--
View this message in context:
http://gtk.10911.n7.nabble.com/How-to-change-one-specific-color-in-GtkTreeView-tp85693.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]