Button colors in Activity
- From: rastersoft <raster rastersoft com>
- To: gnome-shell-list gnome org
- Subject: Button colors in Activity
- Date: Thu, 6 Apr 2017 23:09:39 +0200
Hi all:
I need to add a button in the Activity view. I already did with
const CathegoryMenuItem = new Lang.Class({
Name: "CathegoryMenuItem",
Extends: St.Button,
_init: function(topClass, type, cathegory, launchers) {
this.topClass = topClass;
this.cat = cathegory;
this.launchers = launchers;
this.launcherType = type;
this.parent({label: cathegory, style_class: "world-clocks-button button", toggle_mode: true,
can_focus: true, track_hover: true});
this.connect("clicked",Lang.bind(this,function() {
this.topClass.clickedCathegory(this);
}));
this.show_all();
}
});
It works, but some users says that, when changing the theme in Gnome
shell, the colors are incorrect, and it is hard to read the text.
How can I create a button with the right background, foreground, border,
etc?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]