mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Replaces hardcoded card heights and the per-library Spacing slider with reads from LocalInterfaceCustomization. Home rows split the previous single horizontalPadding arg into a fixed leading-edge contentPadding (BASE_SPACING_DP.dp) and a slider-driven cardSpacing. CardGrid grows a contentPadding so its leading edge stays flush regardless of the spacing slider. The ViewOptionsSpacing slider in ViewOptionsDialog (grid + list) and CollectionViewOptionsDialog is removed - the global Spacing slider covers all browse-density tuning. ViewOptions.spacing remains as a type-driven base (16/4/2 dp for GRID/LIST/DENSE_LIST, set by the type setter) and is multiplied by the global Spacing percent at the list-view consumer site. The Increase / Decrease all card-size shortcuts in HomeSettingsGlobal are also removed (superseded by the global Card size slider). Episode-card heights also scale with the global Card size slider via a new InterfaceCustomization.episodeCardHeightDp helper. Direct consumer sites (ExtrasRow, MovieDetails similar-items, PersonPage episode row, SearchPage EPISODE_ROW results) read it. Preset-set absolute heights (Favorite-Episode preset, etc.) stay as overrides. Adds HomeRowViewOptions.resolvedCardHeight() to InterfaceHelpers.kt - the composable resolver bridging per-row heightDp overrides and the global slider. HomeRowViewOptions.heightDp default flips from Cards.HEIGHT_2X3_DP (172) to 0, the new sentinel meaning "use the global value". |
||
|---|---|---|
| .. | ||
| config | ||
| schemas/com.github.damontecres.wholphin.data.AppDatabase | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||