Merge branch 'master' into virtual-widgets
This commit is contained in:
commit
c35496d80f
58 changed files with 446 additions and 909 deletions
|
|
@ -8,7 +8,7 @@ use iced_native::mouse;
|
|||
use iced_native::renderer;
|
||||
use iced_native::widget::button;
|
||||
use iced_native::{
|
||||
Clipboard, Hasher, Layout, Length, Padding, Point, Rectangle, Shell,
|
||||
Clipboard, Layout, Length, Padding, Point, Rectangle, Shell,
|
||||
};
|
||||
use iced_style::button::StyleSheet;
|
||||
|
||||
|
|
@ -101,16 +101,6 @@ where
|
|||
self.height
|
||||
}
|
||||
|
||||
fn hash_layout(&self, state: &mut Hasher) {
|
||||
use std::hash::Hash;
|
||||
|
||||
self.tag().hash(state);
|
||||
self.width.hash(state);
|
||||
self.height.hash(state);
|
||||
self.padding.hash(state);
|
||||
self.content.as_widget().hash_layout(state);
|
||||
}
|
||||
|
||||
fn layout(
|
||||
&self,
|
||||
renderer: &Renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue