vcs: better computation of ChangesTree fixed height
authorAleksey Pivovarov <AMPivovarov@gmail.com>
Tue, 27 Sep 2022 10:58:33 +0000 (12:58 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 27 Sep 2022 20:11:58 +0000 (20:11 +0000)
commitd1dcff1bded6ebec092d12706f75b14134aeeaad
tree424778b78e7b682e666fd31458527956e6f156f5
parent8aa71b1ade576e660dbbd22633e8651100ecf7bf
vcs: better computation of ChangesTree fixed height

* Take into account "Tree.rowHeight" property from UI theme (Fixes issue in NewUI on non-Linux systems)
* Prepare for potential bigger-than-text checkboxes

Follow-up: 7cf7aa4316f03a1e83e0d58a1328e6eb9d880052

GitOrigin-RevId: b75bf49cfd4f1a3f644cee19cefb2ee35b185c1b
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTree.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeCellRenderer.kt