Skip to content

Commit

Permalink
Match
Browse files Browse the repository at this point in the history
  • Loading branch information
so9010 committed Oct 16, 2024
1 parent df9ae6a commit 9e5634d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion psst-gui/src/ui/artist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ impl<T: Data, B: Widget<T>, S: Widget<T>> Widget<T> for ArtistInfoLayout<T, B, S

fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &T, env: &Env) -> Size {
let max = bc.max();
let wide_layout = max.width > theme::grid(60.0) + theme::GRID * 2.0;
// The smaller the nuber the futhre in you have to go
let wide_layout = max.width > theme::grid(60.0) + theme::GRID * 3.45;
let padding = theme::grid(1.0); // Padding between bio and stats

if wide_layout {
Expand Down

0 comments on commit 9e5634d

Please sign in to comment.