From: Detlef R. <det...@gm...> - 2016-05-12 18:15:43
|
Hi, Am 12.05.2016 um 16:06 schrieb cedlemo: > > this may be completely the wrong list, > This list is more related to the ruby-gnome2 bindings and its support. > > > but may be someone can help > but I am curious so I will try to help you > > Can you give informations: > > which debian testing > Gtk version 3.20.3 > Desktop (Gnome, Xfce) and version Xfce 4.12 > theme used. Adwaita, Gilouche and "high contrast" show the problem. > Is the problem specific for an application you created It is a special purpose widget, something like a Gtk::Notebook with grouped tabs. If other applications have the same problem, I don't know. But the widget may be very specific. > Have you/use you a custom Css configuration?. The specific part of the css file I already posted with my last mail. Here is a small example, that shows the problem on my system. #!/usr/bin/env ruby require "gtk3" provider = Gtk::CssProvider.new css = <<-CSS @define-color frame_border_tabs rgb(70%, 70%, 70%); @define-color transparent rgba(0, 0, 0, 0.0); frame#tabs { border-style: solid; border-color: @frame_border_tabs @transparent @frame_border_tabs @frame_border_tabs; border-width: 0.2em 0.32em 0.05em 0.1em; border-radius: 1.2em 0.7em 0.7em 1.2em; padding: 0.25em 0.25em 0.25em 0.25em; } CSS provider.load :data => css screen = Gdk::Display.default.default_screen Gtk::StyleContext.add_provider_for_screen(screen, provider, Gtk::StyleProvider::PRIORITY_USER) window = Gtk::Window.new frame = Gtk::Frame.new window << frame label = Gtk::Label.new 'Content' frame << label frame.name = 'tabs' frame.style_context.add_provider provider, GLib::MAXUINT window.show_all window.signal_connect "destroy" do Gtk.main_quit end Gtk.main Thanks, detlef > > > Cedlemo > > On 11/05/2016 20:53, Detlef Reichl wrote: >> Hi, >> >> this may be completely the wrong list, but may be someone can help :-) >> >> >> I have a Gtk::Frame which is styled with CSS.This is the relevant part >> of the css file: >> >> frame#tabs { >> border-style: solid; >> border-color: @frame_border_tabs @transparent @frame_border_tabs >> @frame_border_tabs; >> border-width: 0.2em 0.32em 0.05em 0.1em; >> border-radius: 1.2em 0.7em 0.7em 1.2em; >> padding: 0.25em 0.25em 0.25em 0.25em; >> } >> >> >> It is drawn as in the attached image. The outer rounded border is like >> expected. The rectangular one should from my point of view not be >> visible. And before the CSS changes of gtk it was not. Is it also a >> new behavior, where I have to change my css / code? It also _now_ >> seems to be theme dependent. Before the changes with the same theme it >> worked as expected. The _problematic_ theme is Xfce-4.6 from debian >> testing. >> >> detlef >> >> >> ------------------------------------------------------------------------------ >> Mobile security can be enabling, not merely restricting. Employees who >> bring their own devices (BYOD) to work are irked by the imposition of MDM >> restrictions. Mobile Device Manager Plus allows you to control only the >> apps on BYO-devices by containerizing them, leaving personal data untouched! >> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j >> >> >> _______________________________________________ >> ruby-gnome2-devel-en mailing list >> rub...@li... >> https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |