mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IJPL-165254: vcs marker: Add gap to the left of the commit input field
(cherry picked from commit ec59b14a25491c69acd7c90e2262b6beed61a352) IJ-CR-149651 GitOrigin-RevId: 821c54212056b6ea8a61d45cb9b7a0426f9d9ef1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3076cb9bad
commit
2d971cffbb
@@ -101,7 +101,11 @@ private class CommitChunkPanel(private val tracker: ChangelistsLocalLineStatusTr
|
||||
.addToBottom(BorderLayoutPanel().addToRight(bottomWrapper).andTransparent())
|
||||
|
||||
// ui adjustment
|
||||
centerPanel.andTransparent().withBackground(Spec.INPUT_BACKGROUND)
|
||||
centerPanel
|
||||
.andTransparent()
|
||||
.withBackground(Spec.INPUT_BACKGROUND)
|
||||
|
||||
withBorder(JBUI.Borders.emptyLeft(Spec.PANEL_LEFT_GAP))
|
||||
resetPreferredHeight()
|
||||
andTransparent()
|
||||
|
||||
@@ -334,6 +338,8 @@ private fun adjustEditorSettings(editor: EditorEx) {
|
||||
}
|
||||
|
||||
private object Spec {
|
||||
const val PANEL_LEFT_GAP: Int = 12
|
||||
|
||||
val DEFAULT_WIDTH: Int
|
||||
get() = JBUI.scale(255)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user