@@ -29,15 +29,17 @@ import com.intellij.openapi.options.Configurable
2929import com.intellij.openapi.project.ProjectManager
3030import com.intellij.openapi.ui.DialogPanel
3131import com.intellij.ui.EnumComboBoxModel
32- import com.intellij.ui.components.Label
3332import com.intellij.ui.dsl.builder.AlignX
3433import com.intellij.ui.dsl.builder.BottomGap
3534import com.intellij.ui.dsl.builder.MutableProperty
3635import com.intellij.ui.dsl.builder.bindItem
3736import com.intellij.ui.dsl.builder.bindSelected
3837import com.intellij.ui.dsl.builder.panel
3938import com.intellij.util.IconUtil
39+ import java.awt.Font
4040import javax.swing.JComponent
41+ import javax.swing.JLabel
42+ import javax.swing.SwingConstants
4143import org.jetbrains.annotations.Nls
4244
4345class MinecraftConfigurable : Configurable {
@@ -49,9 +51,12 @@ class MinecraftConfigurable : Configurable {
4951
5052 override fun createComponent (): JComponent = panel {
5153 row(
52- Label (MCDevBundle (" minecraft.settings.title" ), bold = true ).apply {
53- font = font.deriveFont(font.size * 1.5f )
54- icon = IconUtil .scale(PlatformAssets .MINECRAFT_ICON_2X , null , 1.5f )
54+ JLabel (
55+ MCDevBundle (" minecraft.settings.title" ),
56+ IconUtil .scale(PlatformAssets .MINECRAFT_ICON_2X , null , 1.5f ),
57+ SwingConstants .LEADING
58+ ).apply {
59+ font = font.deriveFont(Font .BOLD , font.size * 1.5f )
5560 }
5661 ) {
5762 button(MCDevBundle (" minecraft.settings.change_update_channel" )) {
0 commit comments