Skip to content

[Bug]: Buttons are too tall #602

@getArtemUsername

Description

@getArtemUsername

Describe the bug

Image

This is how it looks. The height of buttons doesn't match well with other elements. I switched from Win to Linux and now they look different, much taller. I assume this is related to high dpi displays and the scaling factor and it seems that the IDE scaling factor doesn't affect buttons. The default IDE themes have no issues with buttons.

The only option that the buttons react to is -Dide.ui.scale. Without it, the buttons are even much taller than in the screenshot.

To Reproduce

  1. launch IDE
  2. check buttons' height

Expected behavior

Buttons have reduced height or settings for height adjustment

Material Theme Version

v10.4.1

IDE

IntelliJ IDEA

System Info

IntelliJ IDEA 2025.2.3 (Ultimate Edition)
Build #IU-252.26830.84, built on October 2, 2025
Source revision: ba2aff1f71476
Licence....
Runtime version: 21.0.8+9-b1038.72 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.8.0-79-generic
Ubuntu 24.04.3 LTS; glibc: 2.39
Scala plugin:
  === scala settings for active project ===
    incremental.highlighting.enabled=true
  === formatter settings for active project ===
    formatter=scalafmt
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 16
Registry:
  ide.balloon.shadow.size=0
  ide.new.editor.tabs.vertical.borders=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
  ide.colorful.toolbar.gradient.radius=600
  idea.islands.feedback2.enabled=false
  wsl.fix.initial.tty.size.when.running.without.tty=false
  scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
  dev.arfran.MavenSearcher (2025.1)
  Key Promoter X (2024.2.2)
  com.intellij.properties (252.26830.93)
  org.toml.lang (252.26830.93)
  com.intellij.tasks (252.26830.102)
  com.chrisrm.idea.MaterialThemeUI (10.5.0)
  Docker (252.26830.99)
  com.intellij.ml.llm (252.26830.84)
  izhangzhihao.rainbow.brackets (2025.3.5)
  IdeaVIM (2.27.2)
  org.jetbrains.plugins.gitlab (252.26830.99-IU)
  org.intellij.scala (2025.2.667)
  zio.intellij.zio-intellij (2025.2.43.0)
  com.mallowigi (103.0.0)
Kotlin: 252.26830.84-IJ
Current Desktop: XFCE


HiDPI info:
Per-monitor DPI-aware : disabled
Monitor resolution : 2560x1600
Monitor scale : 1.75
User (IDE) scale : 1.3
Xft.DPI : 165
GSettings scale factor : undefined
GDK_SCALE : undefined
GDK_DPI_SCALE : undefined

Scaling VM options:
-Dsun.java2d.uiScale.enabled=false
-Dide.ui.scale=1.3

Logs/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions