fix: restore add button in medium/large widget (#19) #20
No reviewers
Labels
No labels
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/simpl-liste#20
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/simpl-liste-19-widget-add-button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #19
Problem
The add (+) button disappeared from medium and large widgets after the scrolling feature was added in #11.
The
ListWidget(AndroidListView) used for scrollable task lists takes all available vertical space (height: match_parent), pushing the footer containing the add button off-screen.Solution
Moved the + button from the footer into the header row, next to the task counter. This ensures it remains always visible regardless of the task list length or scroll state.
Changes
ListWidgetContentReviewer automatique — approved
Le fix est correct et minimal. Le bouton + est déplacé du footer (qui disparaissait avec le scroll) vers le header, où il reste toujours visible. La séparation du clickAction entre la zone titre (OPEN_APP) et le bouton + (OPEN_URI) est bien gérée grâce au flex: 1 sur le wrapper titre.