[gnome-tour/bilelmoussaoui/video: 2/2] adapt for new assets size
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour/bilelmoussaoui/video: 2/2] adapt for new assets size
- Date: Tue, 18 Aug 2020 13:50:58 +0000 (UTC)
commit 045b3ba61718bf24d859dc56cce74616aec076b0
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue Aug 18 15:50:36 2020 +0200
adapt for new assets size
src/widgets/pages/image.rs | 1 +
src/widgets/window.rs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/widgets/pages/image.rs b/src/widgets/pages/image.rs
index 8fb73ae..d0dd24a 100644
--- a/src/widgets/pages/image.rs
+++ b/src/widgets/pages/image.rs
@@ -22,6 +22,7 @@ impl ImagePageWidget {
let container = gtk::Box::new(gtk::Orientation::Vertical, 12);
container.set_halign(gtk::Align::Center);
container.set_valign(gtk::Align::Center);
+ container.set_vexpand(true);
container.set_margin_bottom(48);
container.set_margin_top(12);
container.set_margin_start(12);
diff --git a/src/widgets/window.rs b/src/widgets/window.rs
index 1f79740..b42d193 100644
--- a/src/widgets/window.rs
+++ b/src/widgets/window.rs
@@ -35,7 +35,7 @@ impl Window {
}
fn init(&mut self) {
- self.widget.set_default_size(720, 500);
+ self.widget.set_default_size(960, 720);
self.widget.set_icon_name(Some(APP_ID));
// Devel Profile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]