PlaylistView: Set new default column sizes

This commit is contained in:
Jonas Kvinge 2024-06-18 19:52:51 +02:00
parent b8ef96028c
commit b275f91a58
1 changed files with 10 additions and 10 deletions

View File

@ -362,16 +362,16 @@ void PlaylistView::RestoreHeaderState() {
header_->SetStretchEnabled(true); header_->SetStretchEnabled(true);
header_->SetColumnWidth(Playlist::Column_Track, 0.04); header_->SetColumnWidth(Playlist::Column_Track, 0.03);
header_->SetColumnWidth(Playlist::Column_Title, 0.26); header_->SetColumnWidth(Playlist::Column_Title, 0.24);
header_->SetColumnWidth(Playlist::Column_Artist, 0.20); header_->SetColumnWidth(Playlist::Column_Artist, 0.24);
header_->SetColumnWidth(Playlist::Column_Album, 0.14); header_->SetColumnWidth(Playlist::Column_Album, 0.24);
header_->SetColumnWidth(Playlist::Column_Length, 0.03); header_->SetColumnWidth(Playlist::Column_Length, 0.04);
header_->SetColumnWidth(Playlist::Column_Samplerate, 0.07); header_->SetColumnWidth(Playlist::Column_Samplerate, 0.05);
header_->SetColumnWidth(Playlist::Column_Bitdepth, 0.07); header_->SetColumnWidth(Playlist::Column_Bitdepth, 0.04);
header_->SetColumnWidth(Playlist::Column_Bitrate, 0.07); header_->SetColumnWidth(Playlist::Column_Bitrate, 0.04);
header_->SetColumnWidth(Playlist::Column_Filetype, 0.06); header_->SetColumnWidth(Playlist::Column_Filetype, 0.04);
header_->SetColumnWidth(Playlist::Column_Source, 0.06); header_->SetColumnWidth(Playlist::Column_Source, 0.04);
header_state_ = header_->SaveState(); header_state_ = header_->SaveState();
header_->RestoreState(header_state_); header_->RestoreState(header_state_);