ruby-gnome: GtkEntry oversized default margins and padding. CSS does not correct it.

The Gtk::Entry in ruby-gtk3 is very big. I tried to use css with a priority of 800 and even 8000 but it did not shrink. * {font: 9pt monospace; border-radius: 0px; border-width: 0px; margin: 0px; padding: 0px 0px 3px 3px;} This problem does appear in gtk3 python, css works normally.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Thanks. It works on my environment. GTK_DEBUG=interactive may help you:

% GTK_DEBUG=interactive ruby your-script.rb

See also: https://developer.gnome.org/gtk3/stable/gtk-running.html#interactive-debugging