style: Use outline name as CSS class

This commit is contained in:
Dorota Czaplejewicz
2019-09-26 13:28:31 +00:00
parent 6fd7ab7405
commit e513cb9b54
5 changed files with 59 additions and 77 deletions

View File

@ -476,6 +476,7 @@ fn create_button(
::layout::Button {
name: cname,
outline_name: CString::new(outline_name).expect("Bad outline"),
// TODO: do layout before creating buttons
bounds: ::layout::c::Bounds {
x: outline.bounds.x,