mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[diff] IJPL-161760 Invalidate DiffFilePathLabelWrapper on theme update
Label size was set to 0x0 after theme update GitOrigin-RevId: fae07e9d664da1c0b335231a21422297811864bb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6c892067e3
commit
9e5b3bf53e
@@ -59,6 +59,11 @@ class DiffFilePathLabelWrapper(val displayedPath: String, val fullPath: String)
|
||||
wrappedLabel.doLayout()
|
||||
}
|
||||
|
||||
override fun updateUI() {
|
||||
super.updateUI()
|
||||
invalidate()
|
||||
}
|
||||
|
||||
override fun getMinimumSize(): Dimension = wrappedLabel.minimumSize
|
||||
override fun getPreferredSize(): Dimension = wrappedLabel.preferredSize
|
||||
override fun getMaximumSize(): Dimension = Dimension(Int.MAX_VALUE, Int.MAX_VALUE)
|
||||
|
||||
Reference in New Issue
Block a user