Skip to content

feat: increase keyboard font size for classic theme#897

Merged
daveallie merged 1 commit intocrosspoint-reader:masterfrom
ariel-lindemann:increase_kb_font_size
Feb 19, 2026
Merged

feat: increase keyboard font size for classic theme#897
daveallie merged 1 commit intocrosspoint-reader:masterfrom
ariel-lindemann:increase_kb_font_size

Conversation

@ariel-lindemann
Copy link
Contributor

@ariel-lindemann ariel-lindemann commented Feb 15, 2026

Summary

  • What is the goal of this PR? (e.g., Implements the new feature for file uploading.)

Adresses Feature Request #896

  • What changes are included?

Changed key dimensions, initial positions and margins.

Additional Context

The keyboard now looks like this:
image


AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? NO

@ariel-lindemann ariel-lindemann changed the title ui: increase keyboard font size feat: increase keyboard font size Feb 15, 2026
@jpirnay
Copy link
Contributor

jpirnay commented Feb 15, 2026

Commendable effort, but I think @CaptainFrito has this already covered in his PR #732

@ariel-lindemann
Copy link
Contributor Author

Thanks for the heads up, the layout with the keys at the bottom looks very nice.

But after having tested it on my device, I've noticed that his inplementation only applies with the Lyra theme. For classic it still has the old layout.

So I still think my PR has merit as long as the Classic theme is still supported, which afaik it is

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 19, 2026

No actionable comments were generated in the recent review. 🎉

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 840e8c3 and fe07298.

📒 Files selected for processing (1)
  • src/components/themes/BaseTheme.h
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: cppcheck
  • GitHub Check: build
🔇 Additional comments (1)
src/components/themes/BaseTheme.h (1)

93-95: The keyboard layout logic already accounts for screen bounds — no additional verification needed.

The metrics fit within the 480×800 display: the maximum row width is 416 pixels (13 keys × 32 pixels each), and the vertical calculation explicitly positions the keyboard to account for screen height, button hints (40px), and spacing. The code intentionally centers the keyboard horizontally and computes keyboardStartY based on pageHeight minus allocated space, preventing overflow. The comment "use compact spacing to fit 5 rows on screen" confirms this is a deliberate design choice. Multiple theme variants with different metrics (e.g., LyraTheme's larger 31×50 keys) also fit within bounds, demonstrating the layout handles variable sizes correctly.

Likely an incorrect or invalid review comment.


📝 Walkthrough

Walkthrough

Updated keyboard key dimensions and spacing in BaseTheme metrics: keyboardKeyWidth increased from 18 to 22, keyboardKeyHeight from 18 to 30, and keyboardKeySpacing from 3 to 10. No control flow or error handling changes.

Changes

Cohort / File(s) Summary
Theme Metrics Configuration
src/components/themes/BaseTheme.h
Updated ThemeMetrics initialization with new keyboard key dimensions (width: 18→22, height: 18→30) and spacing (3→10).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

🚥 Pre-merge checks | ✅ 1 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions increasing keyboard font size, but the actual changes are to key dimensions, spacing, and positions—not font size. The title is misleading about what was modified. Update the title to accurately reflect the changes, such as 'feat: adjust keyboard key dimensions and spacing for classic theme' or similar.
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly relates to the changeset by referencing Feature Request #896, explaining that key dimensions, positions, and margins were changed, and providing visual context with a screenshot.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@ariel-lindemann ariel-lindemann changed the title feat: increase keyboard font size feat: increase keyboard font size for classic theme Feb 19, 2026
@ariel-lindemann
Copy link
Contributor Author

I've updated this to incorporate the changes fom upstream and provide the larger keyboard to classic theme users as well

@daveallie daveallie merged commit eb241ab into crosspoint-reader:master Feb 19, 2026
7 checks passed
saslv pushed a commit to saslv/crosspoint-reader that referenced this pull request Feb 19, 2026
…r#897)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)

Adresses Feature Request crosspoint-reader#896 

* **What changes are included?**

Changed key dimensions, initial positions and margins.

## Additional Context

The keyboard now looks like this:

![image](https://github.com/user-attachments/assets/e2b8f3fe-e54a-4a44-9a29-2ef9f2c8dffb)

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
el pushed a commit to el/crosspoint-reader that referenced this pull request Feb 19, 2026
…r#897)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)

Adresses Feature Request crosspoint-reader#896 

* **What changes are included?**

Changed key dimensions, initial positions and margins.

## Additional Context

The keyboard now looks like this:

![image](https://github.com/user-attachments/assets/e2b8f3fe-e54a-4a44-9a29-2ef9f2c8dffb)

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
lukestein pushed a commit to lukestein/crosspoint-reader that referenced this pull request Feb 20, 2026
…r#897)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)

Adresses Feature Request crosspoint-reader#896 

* **What changes are included?**

Changed key dimensions, initial positions and margins.

## Additional Context

The keyboard now looks like this:

![image](https://github.com/user-attachments/assets/e2b8f3fe-e54a-4a44-9a29-2ef9f2c8dffb)

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
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.

3 participants