Skip to content

Lay out the Delphi mobile test host and benchmark form to fill the screen - #106

Merged
Xor-el merged 2 commits into
masterfrom
delphi-ui-layout
Oct 29, 2026
Merged

Xor-el merged 2 commits 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. The benchmark form also placed its log and button by absolute position.

  • Padded root layout whose padding follows the platform safe-area insets (Android/iOS); an inner layout holds the 16 dp margin.
  • Test host: full-width label, edit and 44 dp controls, Save URL and Run Tests in one row, a word-wrapping log that fills the remaining height.
  • Benchmark form: the log fills the window and wraps lines; the button stays centred at a fixed width for the desktop window.

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.
The log and button used absolute positions. They now sit in a padded root layout, with the log filling the window and wrapping lines.
@Xor-el
Xor-el merged commit ae7e698 into master Oct 29, 2026
28 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