material-components / material-components/material-components-android

[MaterialButton] Icon buttons are not circle when font size is too large

Open
#2,821 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug Widget: Button
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**How to reproduce:**
- Set Android's font size to "Largest" (Settings > Display > Font Size).
- Open `ButtonsMainDemoFragment` in Material Catalog.

**Expected behavior:**
Icon buttons should be circle and should have the same height as common buttons.

**Actual behavior:**
Icon buttons are stretched vertically a bit and differ in height from common buttons.


Font size: Default
Font size: Largest




**Material Library version:** 1.7.0-alpha03
**Device:** Pixel 4 API 31 Emulator

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.