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 checkbox and switch position on long texts on M2 #146

Merged

Conversation

NKJe
Copy link
Contributor

@NKJe NKJe commented May 9, 2023

Fix positions of switches and on long text on M2. Removed the Spacer and moved the weight to the SettingsTileTexts element. This ensures that the icon and switch/checkbox is measured first. It'll still fill the remaining space. Also fixed an unused Modifier on SettingsTileTexts.

Swiches before:

Switches after:

Checkboxes before:

Checkboxes after:

@alorma alorma merged commit 02ef972 into alorma:main May 9, 2023
2 checks passed
@alorma
Copy link
Owner

alorma commented May 9, 2023

Thanks @NKJe

ZacSweers pushed a commit to ZacSweers/CatchUp that referenced this pull request May 11, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.github.alorma:compose-settings-storage-datastore](https://togithub.com/alorma/Compose-Settings)
| `0.26.0` -> `0.27.0` |
[![age](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-storage-datastore/0.27.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-storage-datastore/0.27.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-storage-datastore/0.27.0/compatibility-slim/0.26.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-storage-datastore/0.27.0/confidence-slim/0.26.0)](https://docs.renovatebot.com/merge-confidence/)
|
|
[com.github.alorma:compose-settings-ui-m3](https://togithub.com/alorma/Compose-Settings)
| `0.26.0` -> `0.27.0` |
[![age](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-ui-m3/0.27.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-ui-m3/0.27.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-ui-m3/0.27.0/compatibility-slim/0.26.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/com.github.alorma:compose-settings-ui-m3/0.27.0/confidence-slim/0.26.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>alorma/Compose-Settings</summary>

###
[`v0.27.0`](https://togithub.com/alorma/Compose-Settings/releases/tag/0.27.0)

[Compare
Source](https://togithub.com/alorma/Compose-Settings/compare/0.26.0...0.27.0)

##### What's Changed

- Bump androidx.compose:compose-bom from 2023.04.00 to 2023.04.01 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[alorma/Compose-Settings#139
- Bump androidx.activity:activity-compose from 1.7.0 to 1.7.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[alorma/Compose-Settings#140
- Bump androidx.compose:compose-bom from 2023.04.01 to 2023.05.00 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[alorma/Compose-Settings#143
- Fix checkbox and switch position on long texts on M2 by
[@&#8203;NKJe](https://togithub.com/NKJe) in
[alorma/Compose-Settings#146

##### New Contributors

- [@&#8203;dependabot](https://togithub.com/dependabot) made their first
contribution in
[alorma/Compose-Settings#139
- [@&#8203;NKJe](https://togithub.com/NKJe) made their first
contribution in
[alorma/Compose-Settings#146

**Full Changelog**:
alorma/Compose-Settings@0.26.0...0.27.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ZacSweers/CatchUp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

2 participants