Héctor Ramón Jiménez
749a9588d7
Implement padding support for Container
2020-03-31 01:21:51 +02:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
...
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
f81827c151
Remove counterintuitive constant functions
2020-03-06 03:30:48 +01:00
Héctor Ramón Jiménez
8f83c805b1
Improve documentation for new Node methods
2020-02-14 23:23:45 +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
daxpedda
457d6f616a
Make Node::align public.
2020-02-14 15:36:33 +01:00
Héctor Ramón
9b8f86f843
Merge pull request #150 from hecrj/refactor/move-renderer-traits
...
Move `Debugger` and `Windowed` traits
2020-01-10 19:10:57 +01:00
Héctor Ramón Jiménez
d1bf3f02c7
Fix flex layout cross-alignment when not filled
2020-01-10 04:58:13 +01:00
Héctor Ramón Jiménez
e45497dfd6
Move Debugger and Windowed to a better location
...
We move `renderer::Debugger` to `layout::Debugger` and
`renderer::Windowed` to `window::Renderer`.
2020-01-10 01:58:55 +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
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
2ec0a43c4a
Fix sneaky bug with padding in flex layout
2019-12-21 07:18:20 +01:00
Nikolai Vazquez
267e242238
Make many functions const
...
The point is to set up repeated components or boilerplate before their
use sites.
The majority of these make sense as `const`. However, some functions
such as those regarding state may not make sense as `const`.
2019-11-29 21:24:52 -05:00
Héctor Ramón Jiménez
a7dba612f0
Write docs for iced and iced_native
2019-11-22 19:36:57 +01:00
Héctor Ramón Jiménez
d4d14b68f4
Remove padding from Container for now
2019-11-11 05:37:51 +01:00
Héctor Ramón Jiménez
ceb02f4a36
Implement Container widget
...
Remove `align_self` and `justify_content` methods
2019-11-11 05:26:08 +01:00
Héctor Ramón Jiménez
bfe19193b9
Fix integer overflow in flex::resolve
2019-11-11 03:20:33 +01:00
Héctor Ramón Jiménez
0240c3981b
Draft custom layout engine based on druid
2019-11-11 03:08:00 +01:00
Héctor Ramón Jiménez
2303111e09
Draft new layout API
2019-11-10 01:55:32 +01:00