AtomMaterialUI / material-theme-issues

Issues Repository for the Material Theme UI plugin for JetBrains
Other
66 stars 4 forks source link

[Bug]: Buttons have excessive top and bottom margins #470

Closed kevin-lee closed 7 months ago

kevin-lee commented 8 months ago

Describe the bug

Buttons have excessive top and bottom margins

To Reproduce

Just check out the buttons

Expected behavior

Please check out the Cancel, Apply and OK buttons at the bottom.

Expected: It's the button without Material Theme UI. Screenshot 2024-03-11 at 1 25 24 am

Actual: When Material Theme UI is enabled. Screenshot 2024-03-11 at 1 25 56 am

Material Theme Version

v9.0.0

IDE

IntelliJ IDEA

System Info

IntelliJ IDEA 2024.1 Beta (Ultimate Edition)
Build #IU-241.14494.17, built on March 6, 2024
Licensed to IntelliJ IDEA EAP user: ...
Expiration date: April 5, 2024
Runtime version: 17.0.10+8-b1207.6 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.6.4
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 10
Metal Rendering is ON
Registry:
  undo.documentUndoLimit=500
  ide.tooltip.initialDelay=507
  ide.balloon.shadow.size=0
  editor.focus.mode.color.light=777777
  editor.focus.mode.color.dark=777777
  debugger.new.tool.window.layout=true
  ide.new.editor.tabs.vertical.borders=true
  ide.animate.toolwindows=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
  scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
  com.intellij.plugins.expui (0.4)
  com.jetbrains.rust (241.24015.155)
  com.jetbrains.space (241.14494.17)
  org.jetbrains.settingsRepository (241.14494.73)
  com.andrey4623.rainbowcsv (2.0.2)
  com.wakatime.intellij.plugin (14.3.11)
  com.intellij.kubernetes (241.14494.73)
  String Manipulation (9.12.0)
  org.jetbrains.plugins.hocon (2024.1.0)
  GrepConsole (12.25.0-IJ2023.3)
  com.intellij.ml.llm (241.14494.33)
  izhangzhihao.rainbow.brackets (2024.2.1)
  com.chrisrm.idea.MaterialThemeUI (9.0.0)
  mdx.js (241.14494.17)
  com.mallowigi (95.0.0)
  org.intellij.scala (2024.1.583)
Kotlin: 241.14494.17-IJ

Logs/Screenshots

No response

mallowigi commented 8 months ago

Material Theme UI-9.1.0.zip

Can you check if that build fixes it?

kevin-lee commented 8 months ago

Material Theme UI-9.1.0.zip

Can you check if that build fixes it?

@mallowigi It's the same. Screenshot 2024-03-20 at 12 11 31 am

mallowigi commented 8 months ago

Can you share your settings ?

kevin-lee commented 8 months ago

Can you share your settings ?

@mallowigi Is the settings in material_theme_new.xml?

mallowigi commented 8 months ago

yes please

kevin-lee commented 8 months ago

@mallowigi

<application>
  <component name="MaterialThemeNewConfig">
    <option name="accentState">
      <MTAccentConfigState>
        <option name="accentColorHex" value="6b9bfa" />
      </MTAccentConfigState>
    </option>
    <option name="contrastState">
      <MTContrastConfigState>
        <option name="contrastMode" value="true" />
        <option name="highContrast" value="true" />
      </MTContrastConfigState>
    </option>
    <option name="customThemeState">
      <MTCustomThemeConfigState>
        <option name="colorScheme" value="Kevin - Atom One Dark (Material) Bigger Font" />
      </MTCustomThemeConfigState>
    </option>
    <option name="featuresState">
      <MTFeaturesConfigState>
        <option name="centeredEditor" value="false" />
      </MTFeaturesConfigState>
    </option>
    <option name="lightCustomThemeState">
      <MTLightCustomThemeConfigState>
        <option name="colorScheme" value="Kevin - Atom One Dark (Material) Bigger Font" />
      </MTLightCustomThemeConfigState>
    </option>
    <option name="metadata">
      <MTMetadataState>
        <option name="pristineConfig" value="false" />
        <option name="userId" value="..." />
        <option name="wizardShown" value="true" />
      </MTMetadataState>
    </option>
    <option name="tabsState">
      <MTTabsConfigState>
        <option name="activeBoldTab" value="true" />
        <option name="highlightColorEnabled" value="true" />
        <option name="highlightColorHex" value="3283e8" />
        <option name="highlightThickness" value="5" />
        <option name="tabHighlightPosition" value="Bottomless" />
        <option name="tabHighlightPositionName" value="BOTTOMLESS" />
        <option name="tabsHeight" value="24" />
      </MTTabsConfigState>
    </option>
    <option name="themeState">
      <MTThemeConfigState>
        <option name="selectedThemeName" value="NATIVE" />
      </MTThemeConfigState>
    </option>
  </component>
</application>

Just in case, I removed userId and everything else untouched.

mallowigi commented 7 months ago

I still cannot reproduce. Do you have some time to connect by Slack?

thofx commented 7 months ago
image

After changing the font size, the buttons look unusual and uncoordinated.

image