Skip to content

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

Merged
jmir1 merged 3 commits into
aniyomiorg:mainfrom
MavikBow:list-size-slider
Jan 31, 2025
Merged

feat(ui): size slider for the List Display Mode (Closes #1894)#1906
jmir1 merged 3 commits into
aniyomiorg:mainfrom
MavikBow:list-size-slider

Conversation

@MavikBow

@MavikBow MavikBow commented Jan 28, 2025

Copy link
Copy Markdown
Contributor

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
Secozzi added a commit that referenced this pull request Mar 1, 2025
cuong-tran pushed a commit to komikku-app/anikku that referenced this pull request Mar 20, 2025
cuong-tran pushed a commit to komikku-app/anikku that referenced this pull request May 31, 2025
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