-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to adjust window ratios #482
Conversation
It is now possible to adjust the width of the three sections in the library view.
Added a check to make sure that album_width + playlist_width isn't too large.
I don't think this PR is related to #278. 278 asks for adjustable columns in a track table specifically not windows in the library page. |
Change code back to simply error instead of catching the error and setting defaults.
* Use BufReader/BufWriter for data from file cache * formatting --------- Co-authored-by: user <puh@p> Co-authored-by: Thang Pham <phamducthang1234@gmail.com>
There is now a section which will contain all of the layout config options.
Add a section detailing the configuration for the layout options.
Clean up of code and removal of clippy errors
Remove old config options, which should previously already have been removed.
Refactor unnecessarily long value checking code
I have made all the changes you have requested. I apologize for the amount of problems with the code. I am new to rust and contributing to large public projects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating. Only a few comments left. Can you also update the default values in https://github.com/aome510/spotify-player/blob/master/examples/app.toml as well?
No need to apologize lol. Instead, I appreciate that you spend your own time learning a new (famously hard) language and contributing to this project 🙇 |
Co-authored-by: Thang Pham <phamducthang1234@gmail.com>
resolve #480
This PR adds the following:
layout
section to the config which contains options for adjusting the ratios of windows found within the appplayback_window_width
(nowplayback_window_height
) &playback_window_position
to newlayout
section