Skip to content

Lay out the Delphi mobile test host to fill the screen - #30

Merged
Xor-el merged 1 commit into
masterfrom
delphi-ui-layout
Oct 29, 2026
Merged

Xor-el merged 1 commit into
masterfrom
delphi-ui-layout

Conversation

@Xor-el

@Xor-el Xor-el commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

The Delphi mobile test host used a fixed 360 dp design with absolute positions, so on a phone the controls stopped short of the right edge, the status-bar offset was hard-coded, and the log scrolled sideways.

  • Padded root layout whose padding follows the platform safe-area insets (Android/iOS); an inner layout holds the 16 dp margin.
  • Full-width label, edit and 44 dp controls, Save URL and Run Tests in one row.
  • The log fills the remaining height, wraps lines and asks for a monospace face (honoured on stock Android).

The form used a fixed 360 dp design with absolute positions, so controls stopped short of the right edge on phones and the log scrolled sideways. It now uses a padded root layout that takes the system-bar insets from the platform, full-width controls, and a word-wrapping log.
@Xor-el
Xor-el merged commit 9310af0 into master Oct 29, 2026
24 checks passed
@Xor-el
Xor-el deleted the delphi-ui-layout branch October 29, 2026 12:22
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