mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-26 16:02:23 +03:00
Slightly less awful building people info panel: Two-column table of person ID and departure time
This commit is contained in:
parent
4cb306a184
commit
44e1f6a578
@ -178,7 +178,7 @@ pub fn people(ctx: &mut EventCtx, app: &App, details: &mut Details, id: Building
|
|||||||
details
|
details
|
||||||
.hyperlinks
|
.hyperlinks
|
||||||
.insert(p.to_string(), Tab::PersonTrips(p, BTreeMap::new()));
|
.insert(p.to_string(), Tab::PersonTrips(p, BTreeMap::new()));
|
||||||
let widget = Widget::col(vec![
|
let widget = Widget::row(vec![
|
||||||
ctx.style()
|
ctx.style()
|
||||||
.btn_solid_dark_text(&p.to_string())
|
.btn_solid_dark_text(&p.to_string())
|
||||||
.build_def(ctx),
|
.build_def(ctx),
|
||||||
|
Loading…
Reference in New Issue
Block a user