Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TextField placeholder going outside the bounds of the TextField #567

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Aug 29, 2024

The problem was that we were not capping the size of the placeholder when measuring it; but the placeholder can't be larger than the space allocated to the actual text; setting the constraints accordingly fixes the issue.

The problem was that we were not capping the size of the placeholder
when measuring it; but the placeholder can't be larger than the
space allocated to the actual text; setting the constraints
accordingly fixes the issue.
@rock3r rock3r added the bug Something isn't working label Aug 29, 2024
@rock3r rock3r requested a review from hamen August 29, 2024 15:09
@rock3r rock3r self-assigned this Aug 29, 2024
@rock3r rock3r enabled auto-merge (squash) August 29, 2024 15:09
@rock3r rock3r merged commit a37fb3f into main Aug 29, 2024
3 checks passed
@rock3r rock3r deleted the fix-textfield-placeholder branch August 29, 2024 15:14
slack-oss-bot referenced this pull request in slackhq/foundry Sep 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[org.jetbrains.jewel:jewel-int-ui-standalone-241](https://redirect.github.com/JetBrains/jewel)
| dependencies | patch | `0.23.0` -> `0.23.1` |
|
[org.jetbrains.jewel:jewel-ide-laf-bridge-241](https://redirect.github.com/JetBrains/jewel)
| dependencies | patch | `0.23.0` -> `0.23.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>JetBrains/jewel
(org.jetbrains.jewel:jewel-int-ui-standalone-241)</summary>

###
[`v0.23.1`](https://redirect.github.com/JetBrains/jewel/releases/tag/v0.23.1)

##### Notable changes:

- Fixed an issue where the placeholder text in `TextField` could extend
beyond the boundaries of the `TextField` itself.  

##### What's Changed

- Fix TextField placeholder going outside the bounds of the TextField by
[@&#8203;rock3r](https://redirect.github.com/rock3r) in
[https://github.com/JetBrains/jewel/pull/567](https://redirect.github.com/JetBrains/jewel/pull/567)

**Full Changelog**:
JetBrains/jewel@v0.23.0...v0.23.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OC4wIiwidXBkYXRlZEluVmVyIjoiMzguNTguMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants