mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-221371 [ui] fix inline banner message and link alignment
For some reason the border around the message was platform-dependent. On linux/windows it was non-empty causing misalignment. To fix this, I explicitly set it empty GitOrigin-RevId: d3b2228d35e44805c268c74e7ba87a5240a92574
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2b186f0cf3
commit
d4db68f19a
@@ -55,7 +55,7 @@ abstract class InlineBannerBase(
|
||||
|
||||
message.isOpaque = isOpaque
|
||||
message.background = background
|
||||
message.border = null
|
||||
message.border = JBUI.Borders.empty()
|
||||
message.isEditable = false
|
||||
message.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, java.lang.Boolean.TRUE)
|
||||
message.contentType = UIUtil.HTML_MIME
|
||||
|
||||
Reference in New Issue
Block a user