Commit graph

498 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
a848306b89 Fix styling in button::Renderer implementation 2020-01-05 19:48:27 +01:00
Héctor Ramón Jiménez
7c4dba29c7 Implement Default for text_input::Style 2020-01-05 19:36:44 +01:00
Héctor Ramón Jiménez
07ef59af78 Implement Default for container::Style 2020-01-05 19:34:38 +01:00
Héctor Ramón Jiménez
1a0effa961 Add border and shadow styling to Button 2020-01-05 19:29:12 +01:00
Héctor Ramón Jiménez
2116fbb3c2 Add border styling to Container 2020-01-05 18:38:03 +01:00
Héctor Ramón Jiménez
8d6f86b317 Remove background from Settings 2020-01-05 18:11:54 +01:00
Héctor Ramón Jiménez
5af4159848 Draft basic styling for TextInput 2020-01-01 18:26:49 +01:00
Héctor Ramón Jiménez
d96ced8e2d Allow configuration of default font 2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
e1062a02d1 Move styling to a brand new iced_style crate 2020-01-01 14:16:10 +01:00
Héctor Ramón Jiménez
9ab7c47dc7 Add border_width and border_color to Quad 2019-12-31 21:38:52 +01:00
Héctor Ramón Jiménez
649d72e7de Fix Widget::draw for Space widget 2019-12-31 11:38:35 +01:00
Héctor Ramón Jiménez
e98471d5b6 Merge branch 'master' into feature/custom-styling 2019-12-31 11:37:41 +01:00
Héctor Ramón Jiménez
fb9cc0262b Draft basic styling for Container 2019-12-31 11:36:54 +01:00
Héctor Ramón
26de688e68
Merge pull request #138 from hecrj/feature/empty-widget
`Space` widget
2019-12-31 10:36:06 +01:00
Héctor Ramón
eb88660074
Merge pull request #137 from hecrj/feature/fill-portion
Add `Length::FillPortion` variant
2019-12-31 10:35:51 +01:00
Héctor Ramón Jiménez
3a327e08e9 Rename Empty widget to Space 2019-12-30 21:33:27 +01:00
Héctor Ramón Jiménez
74d01a6957 Subtract size of previous elements in flex layout 2019-12-30 20:50:52 +01:00
Héctor Ramón Jiménez
aecc3ad195 Add Length::FillPortion variant
It allows to specify the amount of available space an element should
take relative to other elements.
2019-12-30 19:33:27 +01:00
Héctor Ramón Jiménez
8426bf953c Implement Empty widget
It can be useful if you want to fill some space with nothing.
2019-12-30 19:20:59 +01:00
Héctor Ramón Jiménez
7163e1d8b6 Implement Default for iced_wgpu::Primitive 2019-12-30 19:17:00 +01:00
Héctor Ramón Jiménez
bf74e6e7d4 Implement Default for MouseCursor 2019-12-30 19:16:46 +01:00
Héctor Ramón Jiménez
8caa66be27 Add Renderer::Defaults and style inheritance 2019-12-30 12:14:26 +01:00
Héctor Ramón Jiménez
89a6b8a9a1 Rename Settings::background_color to background 2019-12-29 12:31:47 +01:00
Héctor Ramón Jiménez
f74ab463d4 Add background_color to Settings 2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
c7b170da6d Draft Style and StyleSheet for Button 2019-12-29 10:57:01 +01:00
Héctor Ramón Jiménez
4b86c2ff98 Use crates version of surf as a dev dependency 2019-12-28 12:21:06 +01:00
Héctor Ramón Jiménez
b1f89699b4 Fix Command::batch documentation 2019-12-28 12:19:04 +01:00
Héctor Ramón Jiménez
62474d0e75 Use personal fork of winit until 0.20 lands
Fixes #135
2019-12-24 02:56:12 +01:00
Héctor Ramón
8fcf7ccaa7
Merge pull request #134 from hecrj/fix/invisible-svg-panic
Avoid rasterizing SVG when a dimension is 0
2019-12-21 23:53:01 +01:00
Héctor Ramón Jiménez
d78ae3c852 Avoid rasterizing SVG when a dimension is 0 2019-12-21 08:16:36 +01:00
Héctor Ramón Jiménez
2ec0a43c4a Fix sneaky bug with padding in flex layout 2019-12-21 07:18:20 +01:00
Héctor Ramón Jiménez
26ed518fbe Fix scroll percentage calculation in Scrollable 2019-12-21 07:09:50 +01:00
Héctor Ramón Jiménez
c04dff99da Fix sneaky overflow in TextInput when pasting 2019-12-21 05:49:09 +01:00
Héctor Ramón Jiménez
938177e225 Move cursor position to start on left boundary click 2019-12-21 05:36:36 +01:00
Héctor Ramón Jiménez
36e7ac2048 Fix cursor positioning in TextInput on overflow 2019-12-21 05:30:48 +01:00
Héctor Ramón Jiménez
453d2d5bb0 Implement Command::map 2019-12-19 21:08:59 +01:00
Héctor Ramón
773a23630b
Merge pull request #132 from hecrj/feature/read-clipboard
Clipboard access
2019-12-19 17:43:25 +01:00
Héctor Ramón
9cf61fb82c
Merge pull request #131 from hecrj/fix/web-subscription-missing
Fix `Subscription` missing in `iced_web`
2019-12-19 17:07:20 +01:00
Héctor Ramón
c822ea753e
Merge pull request #130 from hecrj/fix/resize-measure-cache
Resize text measure cache to avoid panic
2019-12-19 17:07:09 +01:00
Héctor Ramón Jiménez
8c8c5bb766 Stop using Travis CI 2019-12-19 07:05:54 +01:00
Héctor Ramón Jiménez
972b9520bf Use latest window_clipboard changes 2019-12-19 06:34:44 +01:00
Héctor Ramón Jiménez
68c8ebcd77 Fix web::Hasher doc comment 2019-12-19 00:09:19 +01:00
Héctor Ramón Jiménez
eb4f55c60b Check iced builds when targetting Wasm in CI 2019-12-18 23:57:31 +01:00
Héctor Ramón Jiménez
9ca65c9f18 Fix missing Subscription type in iced_web 2019-12-18 23:57:02 +01:00
Héctor Ramón
441c6730e9
Merge pull request #128 from Gohla/fix_unnecessary_bound
Remove unnecessary bound in iced_web Container
2019-12-18 23:20:48 +01:00
Héctor Ramón
6f9de4130f
Merge pull request #127 from Gohla/web_styling
Add several missing style attributes in iced_web
2019-12-18 23:20:19 +01:00
Héctor Ramón Jiménez
0d7e236039 Resize text measure cache to avoid panic
This should not be really necessary, as we are not really drawing
anything with the measure brush... But we are using `glyph_brush`
in an unconventional way, so that may be the cause. We need to redesign
`wgpu_glyph` or come up with an alternative.
2019-12-18 23:14:54 +01:00
Gabriel Konat
7bb1b81e79 Fix unnecessary bound in web. 2019-12-18 12:02:22 +01:00
Gabriel Konat
95988e8e25 Add several missing style attributes in iced_web. 2019-12-18 11:30:51 +01:00
Héctor Ramón Jiménez
68f3c9c4c6 Implement clipboard pasting in TextInput 2019-12-18 09:11:33 +01:00