diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-02 21:07:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-02 21:07:30 +0200 |
commit | 20aac6c1126988339611576d425965a25a777658 (patch) | |
tree | 7954ca9025cbef1081a0ea9ad231e5692c6238b0 /runtime/doc/gui_x11.txt | |
parent | acca8df9d475bbfbafc71691ebc3b857ecd2777e (diff) | |
download | vim-git-20aac6c1126988339611576d425965a25a777658.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/gui_x11.txt')
-rw-r--r-- | runtime/doc/gui_x11.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt index 6b7a77307..a95b9fd6b 100644 --- a/runtime/doc/gui_x11.txt +++ b/runtime/doc/gui_x11.txt @@ -376,8 +376,8 @@ you might have to use the file ~/.gtkrc-2.0 instead, depending on your distribution. For GTK+ 3, an effect similar to the above can be obtained by adding the -following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually, -$HOME/.config/gtk-3.0/gtk.css): +following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (see the next +section): For GTK+ 3 < 3.20: > @@ -408,6 +408,10 @@ stable support for GTK+ CSS: GTK+ uses CSS for styling and layout of widgets. In this subsection, we'll have a quick look at GTK+ CSS through simple, illustrative examples. +You can usually edit the config with: > + vim $HOME/.config/gtk-3.0/gtk.css + + Example 1. Empty Space Adjustment ~ By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger @@ -492,6 +496,16 @@ unexpectedly less attractive or even deteriorates their usability. Keep this in mind always when you try improving a theme. +Example 3. border color + +To eliminate borders when maximized: > + + @define-color bg_color #1B2B34; + #vim-main-window { + background-color: @bg_color; + } + + Using Vim as a GTK+ plugin ~ *gui-gtk-socketid* When the GTK+ version of Vim starts up normally, it creates its own top level |