Исправил тень в заголовке

pull/27/head
Igor Belitskiy 3 years ago
parent d22d30b2d2
commit 880b2fc2f3

@ -1249,7 +1249,6 @@ void MainWindow::add_CSS() {
Glib::RefPtr<Gtk::StyleContext> styleContext = Gtk::StyleContext::create(); Glib::RefPtr<Gtk::StyleContext> styleContext = Gtk::StyleContext::create();
Glib::RefPtr<Gdk::Screen> screen = Gdk::Screen::get_default();//get default screen Glib::RefPtr<Gdk::Screen> screen = Gdk::Screen::get_default();//get default screen
styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application
Glib::RefPtr<Gtk::StyleContext> lblInfoHead_css = lblInfoHead->get_style_context();
Glib::RefPtr<Gtk::StyleContext> boxButton_css = boxButton->get_style_context(); Glib::RefPtr<Gtk::StyleContext> boxButton_css = boxButton->get_style_context();
Glib::RefPtr<Gtk::StyleContext> boxSave_css = boxSave->get_style_context(); Glib::RefPtr<Gtk::StyleContext> boxSave_css = boxSave->get_style_context();
boxInfo = boxInfoError->get_style_context(); boxInfo = boxInfoError->get_style_context();
@ -1258,7 +1257,6 @@ void MainWindow::add_CSS() {
boxButton_css->add_class("bkim_no_plug"); boxButton_css->add_class("bkim_no_plug");
boxSave_css->add_class("bkim_no_plug"); boxSave_css->add_class("bkim_no_plug");
} }
lblInfoHead_css->add_class("textHead");
} }
void help() { void help() {

@ -11,9 +11,6 @@
.bannerbackground { .bannerbackground {
background-color: #404040; background-color: #404040;
} }
.textHead{
text-shadow: 1px 1px #ffffff;
}
.view_app { .view_app {
background-color: @theme_bg_color; background-color: @theme_bg_color;
} }

@ -2,6 +2,7 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.24"/> <requires lib="gtk+" version="3.24"/>
<!-- interface-css-provider-path ubl-settings-bootloader.css -->
<object class="GtkSizeGroup"> <object class="GtkSizeGroup">
<property name="mode">both</property> <property name="mode">both</property>
<property name="ignore-hidden">True</property> <property name="ignore-hidden">True</property>
@ -113,10 +114,12 @@
<property name="label" translatable="yes">Running applications as a user with a <property name="label" translatable="yes">Running applications as a user with a
specified priority</property> specified priority</property>
<attributes> <attributes>
<attribute name="font-desc" value="URW Gothic Semi-Bold 10"/> <attribute name="weight" value="bold"/>
<attribute name="foreground" value="#000023233232"/>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
<style>
<class name="textHead"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>

Loading…
Cancel
Save