Commit graph

380 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
d7f32d47ba Compute panes regions and focus on click 2020-03-04 22:01:57 +01:00
Héctor Ramón Jiménez
012b4adec7 Draft Panes widget and panes example 2020-03-04 04:10:26 +01:00
Soham Chowdhury
eb7e3250d3 Note BGRA requirement in Handle::from_pixels docs 2020-03-01 06:44:06 +05:30
Soham Chowdhury
1841015428 Add support for loading already-decoded image pixels 2020-02-29 07:32:42 +05:30
FabianLars
767096b9bb disable word selection if is_secure == true 2020-02-27 12:13:47 +01:00
FabianLars
1ad83889be really small cleanup 2020-02-26 21:58:34 +01:00
FabianLars
0d8d236be6 More selection actions: (Ctrl +) Shift + Left/Right, Shift + Home/End 2020-02-25 17:03:52 +01:00
Malte Veerman
1bcfc9a5cc Implemented a texture atlas for images and svgs. 2020-02-25 13:26:33 +01:00
FabianLars
c47e30e960 double click fixed 2020-02-24 20:10:20 +01:00
FabianLars
c6c8cabdaf moved cursor into own file
moved click tracking as a new State struct to input::mouse
made cursor field of text_input state private
brought back cursor type(Index, Selection) representation with a state enum
cleaned out some stuff (but not enough/all)
TODO: Documentation (sigh)
TODO: Editor struct
TODO: some (hopefully) small improvements here and there
2020-02-24 18:03:42 +01:00
FabianLars
190dcef155 Text Selection completely rewritten 2020-02-24 04:14:32 +01:00
FabianLars
883843a72d max time window for double click 2020-02-23 01:23:57 +01:00
FabianLars
f72b1f8c45 double click for word selection
3 clicks to select all
2020-02-23 00:26:15 +01:00
FabianLars
33ca29f395 ctrl + a selection for text input 2020-02-22 22:17:51 +01:00
FabianLars
b2344a852e inital patch by Finnerale 2020-02-22 21:33:45 +01:00
Héctor Ramón Jiménez
6922160423 Pull Checkbox default constants from its Renderer 2020-02-18 02:28:15 +01:00
Clark Moody
668f627532 Add size, spacing, and text_size properties to Checkbox 2020-02-17 17:40:01 -06:00
daxpedda
ddceb295f4
Revert rustfmt change. 2020-02-14 21:43:34 +01:00
daxpedda
f4b8bce837
Revert changing the constructor and implement new method. 2020-02-14 21:41:35 +01:00
daxpedda
b72bd0b2b5
Add bound to Node constructor. 2020-02-14 15:57:07 +01:00
Louis-Simon Mc Nicoll
36c3160c39 Container support for Align::End 2020-02-11 18:12:38 -05:00
Héctor Ramón Jiménez
282ae1dc9e Implement TextInput styling in iced_web 2020-02-06 02:37:49 +01:00
Héctor Ramón Jiménez
9a06e481b7 Add Handle and Data to image in iced_web 2020-02-05 04:13:55 +01:00
sumibi-yakitori
713ed3aca1 Custom fonts can be set in the text input. 2020-01-27 04:28:40 +09:00
Héctor Ramón Jiménez
1797e15b8c Add default padding to Button 2020-01-22 11:17:07 +01:00
Héctor Ramón Jiménez
f73bacb454 Add file events to iced_native:🪟:Event 2020-01-16 07:12:59 +01:00
Héctor Ramón Jiménez
7b278755fc Write missing docs and reenable deny statements 2020-01-09 18:31:07 +01:00
Héctor Ramón Jiménez
5e018965ee Merge branch 'master' into feature/custom-styling 2020-01-09 06:04:05 +01:00
Héctor Ramón Jiménez
a4e833e860 Merge branch 'master' into feature/shrink-by-default 2020-01-09 01:37:57 +01:00
Héctor Ramón Jiménez
ed30b487d6 Implement styling for Checkbox 2020-01-07 02:54:54 +01:00
Héctor Ramón Jiménez
387fc0be26 Implement styling for Radio 2020-01-07 02:26:39 +01:00
Héctor Ramón Jiménez
48b3b78a38 Implement styling for ProgressBar 2020-01-07 01:53:26 +01:00
Héctor Ramón Jiménez
b329003c8f Implement styling for Slider 2020-01-07 00:28:08 +01:00
Héctor Ramón Jiménez
d0dc7cebf9 Implement styling for Scrollable 2020-01-06 21:01:09 +01:00
Héctor Ramón Jiménez
bbc8f837d7 Merge branch 'master' into feature/custom-styling 2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
60ac4faca0 Hash height of ProgressBar in hash_layout 2020-01-03 18:33:47 +01:00
Héctor Ramón Jiménez
9116afaf59 Move DEFAULT_HEIGHT constant to Renderer
Also fixes some minor documentation issues.
2020-01-03 18:23:19 +01:00
Songtronix
986f01237f change(widget): make height adjustable at widget level
addtionally rename Progressbar to ProgressBar
2020-01-02 18:11:45 +01:00
Songtronix
bf8f83decc change(widget): custom coloring for progressbar 2020-01-02 14:25:13 +01:00
Songtronix
d60f3b89a7 add(widget): primitive progressbar widget 2020-01-02 11:11:08 +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
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 Jiménez
3a327e08e9 Rename Empty widget to Space 2019-12-30 21:33:27 +01:00
Héctor Ramón Jiménez
2ff0e48142 Make Row, Column, and Checkbox shrink by default 2019-12-30 21:00: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
8caa66be27 Add Renderer::Defaults and style inheritance 2019-12-30 12:14:26 +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
26ed518fbe Fix scroll percentage calculation in Scrollable 2019-12-21 07:09:50 +01:00