Compare commits
No commits in common. "52a19e771c982b041fe913c486f20c8e29759827" and "52959a3d5d941ae04521f077c6a99012f69fa423" have entirely different histories.
52a19e771c
...
52959a3d5d
1 changed files with 5 additions and 1 deletions
|
@ -307,11 +307,13 @@ fn build_mod_details_info() -> impl Widget<State> {
|
||||||
// Force the label to take up the entire details' pane width,
|
// Force the label to take up the entire details' pane width,
|
||||||
// so that we can center-align it.
|
// so that we can center-align it.
|
||||||
.expand_width()
|
.expand_width()
|
||||||
.lens(NexusInfoLens::new(NexusInfo::name, ModInfo::name).in_arc());
|
.lens(ModInfo::name.in_arc());
|
||||||
let summary = Label::raw()
|
let summary = Label::raw()
|
||||||
.with_line_break_mode(LineBreaking::WordWrap)
|
.with_line_break_mode(LineBreaking::WordWrap)
|
||||||
.lens(NexusInfoLens::new(NexusInfo::summary, ModInfo::summary).in_arc());
|
.lens(NexusInfoLens::new(NexusInfo::summary, ModInfo::summary).in_arc());
|
||||||
|
|
||||||
|
// TODO: Image/icon?
|
||||||
|
|
||||||
let version_line = Label::dynamic(|info: &Arc<ModInfo>, _| {
|
let version_line = Label::dynamic(|info: &Arc<ModInfo>, _| {
|
||||||
let author = info
|
let author = info
|
||||||
.nexus
|
.nexus
|
||||||
|
@ -364,6 +366,8 @@ fn build_mod_details_info() -> impl Widget<State> {
|
||||||
.must_fill_main_axis(true)
|
.must_fill_main_axis(true)
|
||||||
.cross_axis_alignment(CrossAxisAlignment::Start)
|
.cross_axis_alignment(CrossAxisAlignment::Start)
|
||||||
.with_child(image)
|
.with_child(image)
|
||||||
|
// .with_spacer(4.)
|
||||||
|
// .with_flex_child(details, 1.)
|
||||||
.with_child(details)
|
.with_child(details)
|
||||||
},
|
},
|
||||||
Flex::column,
|
Flex::column,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue