mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
test-text-field: Tone down the border
Use a low opacity for the text field border.
This commit is contained in:
parent
2670fc5871
commit
f54b29a0c0
@ -15,7 +15,7 @@ on_entry_paint (ClutterActor *actor,
|
||||
clutter_actor_box_clamp_to_pixel (&allocation);
|
||||
clutter_actor_box_get_size (&allocation, &width, &height);
|
||||
|
||||
cogl_set_source_color4ub (255, 255, 255, 255);
|
||||
cogl_set_source_color4ub (255, 255, 255, 24);
|
||||
cogl_path_round_rectangle (0, 0, width, height, 4.0, 1.0);
|
||||
cogl_path_stroke ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user