summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/README.md6
-rw-r--r--web/src/widget/column.rs2
-rw-r--r--web/src/widget/row.rs2
-rw-r--r--web/src/widget/text.rs2
4 files changed, 8 insertions, 4 deletions
diff --git a/web/README.md b/web/README.md
index 762f6c83..6a3da7b4 100644
--- a/web/README.md
+++ b/web/README.md
@@ -39,7 +39,11 @@ cargo build --example tour --target wasm32-unknown-unknown
wasm-bindgen ../target/wasm32-unknown-unknown/debug/examples/tour.wasm --out-dir tour --web
```
-Then, we need to create an `.html` file to load our application:
+*__Note:__ Keep in mind that Iced is still in early exploration stages and most of the work needs to happen on the native side of the ecosystem. At this stage, it is important to be able to batch work without having to constantly jump back and forth. Because of this, there is currently no requirement for the `master` branch to contain a cross-platform API at all times. If you hit an issue when building an example and want to help, it may be a good way to [start contributing]!*
+
+[start contributing]: ../CONTRIBUTING.md
+
+Once the example is compiled, we need to create an `.html` file to load our application:
```html
<!DOCTYPE html>
diff --git a/web/src/widget/column.rs b/web/src/widget/column.rs
index e0e49148..9aa988ff 100644
--- a/web/src/widget/column.rs
+++ b/web/src/widget/column.rs
@@ -28,7 +28,7 @@ impl<'a, Message> Column<'a, Message> {
Column {
spacing: 0,
padding: 0,
- width: Length::Fill,
+ width: Length::Shrink,
height: Length::Shrink,
max_width: u32::MAX,
max_height: u32::MAX,
diff --git a/web/src/widget/row.rs b/web/src/widget/row.rs
index 02754e2e..c26cb91b 100644
--- a/web/src/widget/row.rs
+++ b/web/src/widget/row.rs
@@ -28,7 +28,7 @@ impl<'a, Message> Row<'a, Message> {
Row {
spacing: 0,
padding: 0,
- width: Length::Fill,
+ width: Length::Shrink,
height: Length::Shrink,
max_width: u32::MAX,
max_height: u32::MAX,
diff --git a/web/src/widget/text.rs b/web/src/widget/text.rs
index 2fdbc0a6..5b0bee55 100644
--- a/web/src/widget/text.rs
+++ b/web/src/widget/text.rs
@@ -36,7 +36,7 @@ impl Text {
size: None,
color: None,
font: Font::Default,
- width: Length::Fill,
+ width: Length::Shrink,
height: Length::Shrink,
horizontal_alignment: HorizontalAlignment::Left,
vertical_alignment: VerticalAlignment::Top,