feat(installer): wizard-style layout (banner + status + buttons footer)#44
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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çãoand asked for "algo parecido").Layout changes
#1E3A5Fwith 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.#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.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'sAnterior / Seguinte / Cancelarrow.Files
_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
_installworker, the splash sequence, and the platform-specific shortcut / Tesseract / Ghostscript install paths. This is a pure layout / styling refactor of_build().Test plan
ast.parse(...)clean.py installer.pyfrom source — confirm the banner renders, body still has folder + checkboxes, progress bar visible at bottom, Install + Cancel buttons right-aligned._step()still updates them correctly.🤖 Generated with Claude Code