Add screenshots and fix default window size

This commit is contained in:
Bnyro 2023-06-26 13:57:13 +02:00
parent 12e5ef6dce
commit 0e14266b4a
7 changed files with 8 additions and 4 deletions

View File

@ -15,7 +15,11 @@
</screenshot> </screenshot>
<screenshot> <screenshot>
<image>https://raw.githubusercontent.com/lemmy-gtk/lemoa/main/data/screenshots/community.png</image> <image>https://raw.githubusercontent.com/lemmy-gtk/lemoa/main/data/screenshots/community.png</image>
<caption>Community view</caption> <caption>Community</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/lemmy-gtk/lemoa/main/data/screenshots/user.png</image>
<caption>User profile</caption>
</screenshot> </screenshot>
</screenshots> </screenshots>
<url type="homepage">https://github.com/lemmy-gtk/lemoa</url> <url type="homepage">https://github.com/lemmy-gtk/lemoa</url>

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
data/screenshots/posts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
data/screenshots/user.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -66,7 +66,7 @@ impl SimpleComponent for PostPage {
#[local_ref] #[local_ref]
image -> gtk::Box { image -> gtk::Box {
set_height_request: 100, set_height_request: 400,
set_margin_bottom: 20, set_margin_bottom: 20,
set_margin_top: 20, set_margin_top: 20,
}, },

View File

@ -1,4 +1,4 @@
pub const NAME: &str = "lemoa"; pub const NAME: &str = "lemoa";
pub const APP_ID: &str = "com.lemmygtk.lemoa"; pub const APP_ID: &str = "com.lemmygtk.lemoa";
pub const PKGDATADIR: &str = "/app/share/lemoa"; pub const PKGDATADIR: &str = "/usr/local/share/lemoa";
pub const VERSION: &str = "0.1.0"; pub const VERSION: &str = "0.1.0";

View File

@ -102,7 +102,7 @@ impl SimpleComponent for App {
#[root] #[root]
main_window = gtk::ApplicationWindow { main_window = gtk::ApplicationWindow {
set_title: Some("Lemoa"), set_title: Some("Lemoa"),
set_default_size: (300, 100), set_default_size: (1400, 800),
#[wrap(Some)] #[wrap(Some)]
set_titlebar = &gtk::HeaderBar { set_titlebar = &gtk::HeaderBar {