fix: restore add button in medium/large widget (#19) #20

Merged
maximus merged 1 commit from fix/simpl-liste-19-widget-add-button into master 2026-03-09 23:52:12 +00:00
Collaborator

Fixes #19

Problem

The add (+) button disappeared from medium and large widgets after the scrolling feature was added in #11.

The ListWidget (Android ListView) 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

  • Moved add button from footer to header in ListWidgetContent
  • Removed the now-unnecessary footer section
  • Header layout: title + task count on the left, + button on the right
Fixes #19 ## Problem The add (+) button disappeared from medium and large widgets after the scrolling feature was added in #11. The `ListWidget` (Android `ListView`) 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 - Moved add button from footer to header in `ListWidgetContent` - Removed the now-unnecessary footer section - Header layout: title + task count on the left, + button on the right
medic-bot added 1 commit 2026-03-09 03:02:05 +00:00
The ListWidget (Android ListView) introduced for scrolling takes all
available vertical space, pushing the footer add button off-screen.
Move the + button into the header row where it remains always visible
regardless of the task list scroll state.

Related to #19

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
Collaborator

Reviewer 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.

## Reviewer 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.
maximus merged commit d6a69d849b into master 2026-03-09 23:52:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maximus/simpl-liste#20
No description provided.