Compare commits

...

2 commits

Author SHA1 Message Date
Alex Janka f40269622a gui: RUST_LOG defaults to info 2024-07-20 18:03:57 +10:00
Alex Janka 789eaf275f gui (gtk): game list UI looks much better
fixes column size + initial window size + window title
2024-07-20 18:03:29 +10:00
2 changed files with 7 additions and 3 deletions

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="TwincGameList" parent="GtkApplicationWindow">
<property name="title">My GTK App</property>
<property name="default-width">600</property>
<property name="default-height">400</property>
<property name="title">TWINC</property>
<property name="default-width">1200</property>
<property name="default-height">800</property>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
@ -27,6 +27,7 @@
<child>
<object class="GtkColumnViewColumn" id="filename_column">
<property name="title">Filename</property>
<property name="expand">true</property>
</object>
</child>
<child>

View file

@ -10,6 +10,9 @@ mod config;
mod gamelist;
fn main() {
if std::env::var_os("RUST_LOG").is_none() {
std::env::set_var("RUST_LOG", "info");
}
env_logger::init();
#[cfg(not(all(
target_os = "macos",