frontend: update example widgets and linked in resources
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user