Re: borderless MacOS menus (was 'Gtk3 MacOS (OSX) context menu issues')




Thanks for the suggestion, Jim, but no luck so far in getting any change to my menu borders via

.window-frame, .window-frame:backdrop {
  box-shadow: 6px 6px;
  margin: 6px;
}

which I added to a new $XDG_CONFIG_HOME/gtk-3.0/gtk.css file. This file is definitely being parsed at app startup time, because if I change

.window-frame, .window-frame:backdrop {

to instead read

* {

I get the most hideous GUI imaginable, i.e., big ugly shadow borders around almost everything *except* my menus, which are still completely borderless! It just seems like my system is flat-out never drawing any menu borders no matter what.

Roger


On Sun, 15 Mar 2015, Jim Charlton wrote:

My experience has been that I can set the XDG_CONFIG_HOME environment variable to the path to the gtk-3.0 directory (eg. /opt/local/share/themes/Default) and then put both the gtk.css and the settings.ini file in the /opt/local/share/themes/Default/gtk-3.0/ directory. When a gtk3 application is run, both files will be processed. You can put css into the gtk.css file and it seems to override the in-line (compiled?) theme data. If you do figure out how to put shadowed margins on the menus, let us know if it brings back the item selection problem.


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