Rename module style to css in iced_web
This commit is contained in:
parent
7b892eb3e1
commit
0030bcbd33
16 changed files with 89 additions and 89 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{style, Bus, Element, Length, Widget};
|
||||
use crate::{css, Bus, Css, Element, Length, Widget};
|
||||
use dodrio::bumpalo;
|
||||
|
||||
/// An amount of empty space.
|
||||
|
|
@ -44,12 +44,12 @@ impl<'a, Message> Widget<Message> for Space {
|
|||
&self,
|
||||
bump: &'b bumpalo::Bump,
|
||||
_publish: &Bus<Message>,
|
||||
_style_sheet: &mut style::Sheet<'b>,
|
||||
_css: &mut Css<'b>,
|
||||
) -> dodrio::Node<'b> {
|
||||
use dodrio::builder::*;
|
||||
|
||||
let width = style::length(self.width);
|
||||
let height = style::length(self.height);
|
||||
let width = css::length(self.width);
|
||||
let height = css::length(self.height);
|
||||
|
||||
let style = bumpalo::format!(
|
||||
in bump,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue