Skip to content

Commit

Permalink
Re-organize ui
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed Aug 16, 2024
1 parent fc886ae commit e0707b3
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions crates/ui/src/windows/about.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,18 @@ impl luminol_core::Window for Window {
ui.heading("Luminol");

ui.separator();

ui.label("Luminol is a FOSS version of the RPG Maker XP editor.");
ui.separator();

ui.label(format!(
"Authors: \n{}",
env!("CARGO_PKG_AUTHORS").replace(':', "\n")
));
ui.separator();

ui.label(format!("Luminol version {}", env!("CARGO_PKG_VERSION")));
if update_state.build_diagnostics.is_debug {
ui.label("Debug build");
} else {
ui.label("Release build");
}
ui.label("--- Build time info ---");
ui.label(format!(
"git-rev {}",
update_state.build_diagnostics.git_revision
Expand All @@ -78,24 +84,18 @@ impl luminol_core::Window for Window {
"built on {}",
update_state.build_diagnostics.build_time
));
ui.label(format!(
"built with {} {}",
update_state.build_diagnostics.rustc_version,
update_state.build_diagnostics.cargo_version
));
ui.label(format!(
"build OS: {}",
update_state.build_diagnostics.build_os
));
ui.separator();

ui.label("Luminol is a FOSS version of the RPG Maker XP editor.");
ui.separator();

ui.label(format!(
"Authors: \n{}",
env!("CARGO_PKG_AUTHORS").replace(':', "\n")
))
ui.label("--- Build info ---");
ui.label(update_state.build_diagnostics.rustc_version);
ui.label(update_state.build_diagnostics.cargo_version);
if update_state.build_diagnostics.is_debug {
ui.label("Debug build");
} else {
ui.label("Release build");
}
})
});
}
Expand Down

0 comments on commit e0707b3

Please sign in to comment.