Skip to content

feat(installer): wizard-style layout (banner + status + buttons footer)#44

Merged
nelsonduarte merged 1 commit into
mainfrom
feat/installer-wizard-layout
May 7, 2026
Merged

feat(installer): wizard-style layout (banner + status + buttons footer)#44
nelsonduarte merged 1 commit into
mainfrom
feat/installer-wizard-layout

Conversation

@nelsonduarte
Copy link
Copy Markdown
Owner

Summary

Restyle the installer to look closer to LibreOffice's wizard-style installer (user shared a screenshot of LibreOffice 26.2.3.2 - Assistente de instalação and asked for "algo parecido").

Layout changes

  • Drop the old dark-blue full-bleed header (#1E3A5F with white "PDFApps" brand text). The brand block reads as decoration on a wizard window and steals vertical space we'd rather give to the form.
  • New top banner: 80 px light blue-gray band (#E5EDF5) with a bold title ("Install/Instalar PDFApps {ver}") and a one-line subtitle inviting the user to choose options. 1 px border line separates banner from body.
  • New footer: separated from the body by a border line, contains a bold Status: / Estado: label, the current-operation StringVar (was previously inside the body), and the determinate progress bar. Action buttons (Install + Cancel) pack right-aligned below the progress bar, mirroring LibreOffice's Anterior / Seguinte / Cancelar row.
  • Window grew from 520×470 to 600×520 to give the form fields + new footer room to breathe.

Files

  • installer.py_build() rewritten; 3 new i18n keys × 8 languages (banner_title, banner_subtitle, status_label).

What's NOT changed

Form fields, checkboxes, install logic, the threaded _install worker, the splash sequence, and the platform-specific shortcut / Tesseract / Ghostscript install paths. This is a pure layout / styling refactor of _build().

Test plan

  • Syntax check on Py3.14: ast.parse(...) clean.
  • UI builds without errors under xvfb on Ubuntu 26.04 + Py3.14: 600×520 window, 7 frames in the expected packing order (banner → top border → body → above-footer border → progress area → buttons row → bottom border) plus the loading splash Toplevel.
  • Visual check on Windows: run py installer.py from source — confirm the banner renders, body still has folder + checkboxes, progress bar visible at bottom, Install + Cancel buttons right-aligned.
  • Re-run a full install end-to-end (Tesseract + Ghostscript download paths) — none of that logic changed but the status/progress widgets moved, want to confirm _step() still updates them correctly.

🤖 Generated with Claude Code

Restyle the installer to look closer to LibreOffice's wizard-style
installer the user pointed to:

- Drop the old dark-blue full-bleed header (#1E3A5F with white "PDFApps"
  brand text). The brand block reads as decoration on a wizard window
  and steals vertical space we'd rather give to the form.
- New top banner: 80px light blue-gray band (#E5EDF5) with a bold
  title ("Install/Instalar PDFApps {ver}") in the same dark text
  colour the body uses, plus a one-line subtitle inviting the user
  to choose options. Subtle border line separates banner from body.
- New footer: separated from the body by a 1px border line, contains
  three stacked rows — a bold "Status:" / "Estado:" label, the
  current-operation StringVar (was previously inside the body), and
  the determinate progress bar. Action buttons (Install + Cancel)
  pack right-aligned BELOW the progress bar, mirroring LibreOffice's
  Anterior / Seguinte / Cancelar row.
- Window grew from 520x470 to 600x520 to give the form fields and
  the new footer room to breathe.

Add 3 new i18n keys × 8 languages: banner_title, banner_subtitle,
status_label.

Form fields, checkboxes, install logic, the threaded _install
worker, the splash sequence, and the platform-specific shortcut /
Tesseract / Ghostscript install paths are unchanged — this is a
pure layout / styling refactor of `_build()`.

Verified the UI builds without errors under xvfb on Ubuntu 26.04 +
Py3.14: 600x520 window, 7 frames in the right packing order
(banner → top border → body → above-footer border → progress
area → buttons row → bottom border).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nelsonduarte nelsonduarte merged commit c6bc284 into main May 7, 2026
3 checks passed
@nelsonduarte nelsonduarte deleted the feat/installer-wizard-layout branch May 7, 2026 11:55
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.

1 participant