mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Kotlin UI DSL] Use non-opaque checkboxes by default
GitOrigin-RevId: 9ddfe321470d87a305190e2a328fc5f471eea2ba
This commit is contained in:
committed by
intellij-monorepo-bot
parent
79561628d0
commit
1e6c20c0b9
+1
@@ -13,6 +13,7 @@ internal class StickyLinesProviderConfigurable(
|
||||
) : SearchableConfigurable {
|
||||
|
||||
override fun createComponent(): JCheckBox = JCheckBox(language.displayName)
|
||||
.apply { isOpaque = false }
|
||||
|
||||
override fun isModified(): Boolean = false
|
||||
|
||||
|
||||
@@ -121,7 +121,11 @@ abstract class BeanConfigurable<T : Any> protected constructor(protected val ins
|
||||
return myAccessor.getBeanValue(settingsInstance)
|
||||
}
|
||||
|
||||
val component: JCheckBox by lazy { JCheckBox(title) }
|
||||
val component: JCheckBox by lazy {
|
||||
JCheckBox(title).apply {
|
||||
isOpaque = false
|
||||
}
|
||||
}
|
||||
|
||||
fun isModified(instance: Any): Boolean {
|
||||
val beanValue = myAccessor.getBeanValue(instance)
|
||||
|
||||
Reference in New Issue
Block a user