RE: How to change one specific color in GtkTreeView

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] On Behalf Of alexsson
Sent: Wednesday, November 12, 2014 2:12 AM
To: gtk-list@xxxxxxxxx
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@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux