Alexandre Bury
769ab8bf9b
Replace event::AnyCb with non-boxed &dyn FnMut
2019-09-06 16:10:02 -07:00
Alexandre Bury
b3fed80939
Remove BoxView::squishable
...
No-one knew what it was doing.
2019-08-27 13:31:55 -07:00
Alexandre Bury
0a81454e7d
Fix BoxView
2019-08-27 13:13:06 -07:00
Johannes Wünsche
e47dd87e0c
BoxView Fixed, AtLeast, AtMost SizeConstraints ( #368 )
...
* Add wrap_draw implementation for BoxView
This implementation was required because the restriction of fixed &
at least sized BoxView was not fulfilled with the default. The new
implementation takes this into consideration.
2019-08-19 15:16:40 -07:00
Alexandre Bury
b7d71e8381
Rustfmt
...
Moves to "Tall" fn_args_layout
2019-07-30 16:08:40 -07:00
Alexandre Bury
242a3c68a7
Fix clippy warnings
2019-03-04 10:31:36 -08:00
Alexandre Bury
06b02e4665
Remove "extern crate" and rustfmt
2019-02-28 16:04:14 -08:00
Alexandre Bury
e51be07e5d
Update to Rust 2018
...
Run `cargo fix --edition` and update Cargo.toml
2019-02-28 15:54:12 -08:00
Alexandre Bury
92f919978c
Rustfmt
2018-08-22 13:33:29 -07:00
Alexandre Bury
acc1405c2a
Fix size cache in ScrollView
2018-08-20 13:30:42 -07:00
Alexandre Bury
8acc08f340
Rustfmt
2018-06-10 23:29:19 -07:00
Alexandre Bury
a355171844
Fix clippy warnings
2018-04-10 11:53:25 -07:00
Alexandre Bury
62260a025e
Rustfmt
2018-02-16 17:21:24 -08:00
Alexandre Bury
f091cec861
Add BoxView::set_size
2018-01-27 22:12:29 -08:00
Tymoteusz Jankowski
5bfe9548e8
Replace inner_getters!(T); with inner_getters!(self.view: T);
2018-01-27 10:37:08 +01:00
Tymoteusz Jankowski
84ea73617f
Add & use inner_getter! in BoxView
2018-01-26 11:39:10 +01:00
Tymoteusz Jankowski
d0956b40b0
Add get_view for ViewWrapper (needs fix)
2018-01-25 14:08:01 +01:00
Alexandre Bury
da8310b076
Rustfmt
2018-01-22 14:37:27 -08:00
Alexandre Bury
3674c118cb
Rustfmt
2018-01-22 11:55:56 -08:00
Alexandre Bury
a4ca7bbf1e
Rustfmt
2017-10-12 16:43:59 -07:00
hcpl
ca4410030a
Use log
crate
...
This provides a uniform way to handle logging and can be combined with
logs from other libraries in end-user apps.
2017-08-23 17:49:09 +03:00
Alexandre Bury
a48ff9082f
Replace println_stderr! with eprintln!
2017-08-14 17:01:49 -07:00
Alexandre Bury
20e6938bbb
fix: consider scrollable in TextArea required size
2017-07-18 00:15:05 +02:00
Alexandre Bury
d7eaa5a086
Rename View::get_min_size
-> required_size
2017-01-23 22:53:03 -08:00
Alexandre Bury
3b3f403f7a
Apply rustfmt
2016-10-02 15:22:29 -07:00
Alexandre Bury
2e06dd70cb
Apply rustfmt
2016-09-22 22:11:13 -07:00
Alexandre Bury
e3ac2a0482
Added some size tests to BoxView
2016-09-20 11:50:34 -07:00
Alexandre Bury
08d1c1e5b0
Use an associated type in ViewWrapper
...
This removes the need for dynamic dispatching
2016-09-19 17:20:20 -07:00
Alexandre Bury
b38995b906
Refactor BoxView
...
Add `Boxable` trait.
2016-08-03 21:55:41 -07:00
Alexandre Bury
f87d0e7c5b
Move views to new views
module
2016-07-28 16:36:01 -07:00