Commit 12e64c8e authored by Florian Blasius's avatar Florian Blasius 🤘
Browse files

[fix] examples window position on windows

parent 41444206
......@@ -89,8 +89,8 @@ fn main() {
let mut application = Application::default();
application
.create_window()
.with_bounds(Bounds::new(0, 0, 800, 600))
.with_title("OrbTk - Canvas example")
.with_bounds(Bounds::new(100, 100, 800, 600))
.with_title("OrbTk - canvas example")
.with_root(MainView::create())
.build();
application.run();
......
......@@ -18,8 +18,8 @@ fn main() {
let mut application = Application::default();
application
.create_window()
.with_bounds(Bounds::new(0, 0, 800, 420))
.with_title("OrbTk - Image example")
.with_bounds(Bounds::new(100, 100, 800, 420))
.with_title("OrbTk - image example")
.with_root(MainView::create())
.build();
application.run();
......
......@@ -108,8 +108,8 @@ fn main() {
let mut application = Application::default();
application
.create_window()
.with_bounds(Bounds::new(0, 0, 420, 730))
.with_title("OrbTk - Light theme example")
.with_bounds(Bounds::new(100, 100, 420, 730))
.with_title("OrbTk - light theme example")
.with_root(MainView::create())
.with_debug_flag(false)
.with_theme(Theme::parse(&theme::LIGHT_THEME_CSS))
......
......@@ -19,8 +19,8 @@ fn main() {
let mut application = Application::default();
application
.create_window()
.with_bounds(Bounds::new(0, 0, 420, 730))
.with_title("OrbTk - Minimal example")
.with_bounds(Bounds::new(100, 100, 420, 730))
.with_title("OrbTk - minimal example")
.with_root(MainView::create())
.with_debug_flag(true)
.build();
......
......@@ -106,8 +106,8 @@ fn main() {
let mut application = Application::default();
application
.create_window()
.with_bounds(Bounds::new(0, 0, 420, 730))
.with_title("OrbTk - Widgets example")
.with_bounds(Bounds::new(100, 100, 420, 730))
.with_title("OrbTk - widgets example")
.with_root(MainView::create())
.with_debug_flag(false)
.build();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment