Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Rust with gtk3 headerbar appears slightly transparent
I am having an issue where my headerbar in gtk3 application is appearing slightly transparent:
I am using the arc theme:
and all of the other gtk3 applications such as nemo and thunar don't have this transparency issue it is fully opaque. My application's headerbar's color is close to nemo and thunar but is slightly transparent.
i have tried some css code like this:
background-color: @headerbar_bg_color;
color: @headerbar_fg_color;
box-shadow: none;
opacity: 1.0;
which makes it fully transparent. I have tired these:
headerbar
{
background: @theme_bg_color;
background-image: none;
color: @theme_fg_color;
}
which does fix the transparency but it pretty much looks the same as the rest of the application.
So I don't know how to fix this, any ideas?
this is how headerbar is getting the css code:
header_bar.style_context().add_provider(&css.borrow().header_bar, STYLE_PROVIDER_PRIORITY_USER);
1 post - 1 participant
🏷️ Rust_feed