解决Fedora15Gnome3中布局不紧凑,按钮肥大,标题栏太宽问题
解决标题栏太宽:
sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
解决布局不紧凑 按钮肥大
在主目录下新建
.gtkrc-2.0文件
内容:
style "gtkcompact" { #font_name="Sans 9" GtkButton::default_border={0,0,0,0} GtkButton::default_outside_border={0,0,0,0} GtkButtonBox::child_min_width=0 GtkButtonBox::child_min_heigth=0 GtkButtonBox::child_internal_pad_x=0 GtkButtonBox::child_internal_pad_y=0 GtkMenu::vertical-padding=1 GtkMenuBar::internal_padding=0 GtkMenuItem::horizontal_padding=4 GtkToolbar::internal-padding=0 GtkToolbar::space-size=0 GtkOptionMenu::indicator_size=0 GtkOptionMenu::indicator_spacing=0 GtkPaned::handle_size=4 GtkRange::trough_border=0 GtkRange::stepper_spacing=0 GtkScale::value_spacing=0 GtkScrolledWindow::scrollbar_spacing=0 GtkExpander::expander_size=10 GtkExpander::expander_spacing=0 GtkTreeView::vertical-separator=0 GtkTreeView::horizontal-separator=0 GtkTreeView::expander-size=8 GtkTreeView::fixed-height-mode=TRUE GtkWidget::focus_padding=0 } class "GtkWidget" style "gtkcompact" style "gtkcompactextra" { xthickness=1 ythickness=1 } class "GtkButton" style "gtkcompactextra" class "GtkToolbar" style "gtkcompactextra" class "GtkPaned" style "gtkcompactextra"
原文链接:https://www.cnblogs.com/cryinstall/archive/2011/08/22/2149844.html
本文来源 爱码网,其版权均为 原网址 所有 与本站无关,文章内容系作者个人观点,不代表 本站 对观点赞同或支持。如需转载,请注明文章来源。
© 版权声明
文章版权归作者所有,未经允许请勿转载。