Skip to content
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

feat(ui): size slider for the List Display Mode (Closes #1894) #1906

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

MavikBow
Copy link
Contributor

@MavikBow MavikBow commented Jan 28, 2025

Added a size slider for the List Display Mode. It uses the same size variable as Grids do to determine size. However, the size of the List gets interpreted not as <number> of columns per row, but rather as <number> of entries of the list visible on the screen at once (images 1 and 2). The default value is set to be 7 for the List.

The style of the List was changed: the cover is of Book resolution to match the Grids and for better visibility (image 4).

Other two lists (browse list and migration list) don't have editable size, but neither do browse grids, so it's fine. Instead they now have a predetermined size of 76.dp (was 56.dp previously) and are visually changed to match the library list style.

The size slider also has two additional text fields added, which would need translation (though i assume that's automated).

The max line restriction for titles was removed, allowing for longer names to be fully visible, given the List is set to a big enough size (image 6).

closes #1894

Showcase

Screenshot_20250128-175245_Aniyomi Screenshot_20250128-175239_Aniyomi Screenshot_20250128-175513_Aniyomi
Screenshot_20250128-175315_Aniyomi Screenshot_20250128-175357_Aniyomi Screenshot_20250128-175326_Aniyomi

Screenshot_20250128-181306_Aniyomi
Screenshot_20250128-181329_Aniyomi

@MavikBow MavikBow changed the title Added a size slider for the List Display Mode (#1894) Added a size slider for the List Display Mode (Closes #1894) Jan 28, 2025
@MavikBow MavikBow changed the title Added a size slider for the List Display Mode (Closes #1894) feat(ui): size slider for the List Display Mode (Closes #1894) Jan 28, 2025
jmir1
jmir1 previously approved these changes Jan 31, 2025
@jmir1 jmir1 merged commit 2b1dbc1 into aniyomiorg:main Jan 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a size slider for the List Display Mode
2 participants