Darktide Mod Manager #39
1 changed files with 2 additions and 3 deletions
|
@ -10,14 +10,13 @@ use crate::theme;
|
||||||
use crate::widget::ExtraWidgetExt;
|
use crate::widget::ExtraWidgetExt;
|
||||||
|
|
||||||
const TITLE: &str = "Darktide Mod Manager";
|
const TITLE: &str = "Darktide Mod Manager";
|
||||||
const WINDOW_WIDTH: f64 = 800.0;
|
const WINDOW_SIZE: (f64, f64) = (800.0, 600.0);
|
||||||
const WINDOW_HEIGHT: f64 = 600.0;
|
|
||||||
const MOD_DETAILS_MIN_WIDTH: f64 = 325.0;
|
const MOD_DETAILS_MIN_WIDTH: f64 = 325.0;
|
||||||
|
|
||||||
pub(crate) fn new() -> WindowDesc<State> {
|
pub(crate) fn new() -> WindowDesc<State> {
|
||||||
WindowDesc::new(build_window())
|
WindowDesc::new(build_window())
|
||||||
.title(TITLE)
|
.title(TITLE)
|
||||||
.window_size((WINDOW_WIDTH, WINDOW_HEIGHT))
|
.window_size(WINDOW_SIZE)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn build_top_bar() -> impl Widget<State> {
|
fn build_top_bar() -> impl Widget<State> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue