mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
Update testlevelbar
This test needs some small updates after the recent changes to levelbar styling.
This commit is contained in:
parent
4faef48410
commit
e0aa35ca58
@ -15,6 +15,9 @@ create_level_bar (void)
|
||||
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
|
||||
GTK_LEVEL_BAR_OFFSET_HIGH, 9.0);
|
||||
|
||||
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
|
||||
"full", 10.0);
|
||||
|
||||
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
|
||||
"my-offset", 5.0);
|
||||
|
||||
@ -26,12 +29,7 @@ add_custom_css (void)
|
||||
{
|
||||
GtkCssProvider *provider;
|
||||
const gchar data[] =
|
||||
"levelbar.fill-block.empty-fill-block {"
|
||||
" background-color: transparent;"
|
||||
" background-image: none;"
|
||||
" border-color: alpha(@theme_fg_color, 0.1);"
|
||||
"}"
|
||||
"levelbar.fill-block.level-my-offset {"
|
||||
"levelbar block.my-offset {"
|
||||
" background: magenta;"
|
||||
"}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user