Skip to content

Commit

Permalink
use liked icon's length to configure the column's width (#380)
Browse files Browse the repository at this point in the history
Resolves #356
  • Loading branch information
aome510 authored Feb 25, 2024
1 parent 67e9851 commit 1fba738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify_player/src/ui/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ fn render_track_table(
let track_table = Table::new(
rows,
[
Constraint::Length(1),
Constraint::Length(state.configs.app_config.liked_icon.chars().count() as u16),
Constraint::Length(4),
Constraint::Fill(4),
Constraint::Fill(3),
Expand Down

0 comments on commit 1fba738

Please sign in to comment.