frontend: update example widgets and linked in resources

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-06-16 02:48:37 +02:00
parent 43257dee99
commit d5f48dfed7
16 changed files with 978 additions and 422 deletions

View File

@@ -6,13 +6,13 @@ fn main() {
Application::new()
.window(|ctx| {
Window::create()
Window::new()
.title("OrbTk - image example")
.position((100.0, 100.0))
.size(800.0, 420.0)
.child(
ImageWidget::create()
.image("res/orbtk-space.png")
ImageWidget::new()
.image("../resources/orbtk-space.png")
.build(ctx),
)
.build(ctx)