[intelliJ-plugin] Help with disabling resizing

Julianvs

Discord: TheDevJulian#0001 && #JusticeForCalensi
Aug 5, 2020
42
17
Hi,

I'm working on a IntelliJ IDEA plugin (in Kotlin). Now I have a `showInputDialog` so the user can input something but the user can resize it, I want to disbale that but I cant get it to working.

Anyone who maybe can help on this?
 

Julianvs

Discord: TheDevJulian#0001 && #JusticeForCalensi
Aug 5, 2020
42
17
The plugin is for myself, I'm currenty making it. The code is below:

Java:
override fun getUserInput(initialValue: String?): String? {
        val initial = initialValue ?: ""
        // From here
        val input = Messages.showInputDialog(
            project, meta.description, meta.capitalized,
            Icons.JulianTools, initial, null, TextRange(initial.length, initial.length)
        )
       // Till here
        if(input.isNullOrEmpty() || input.trim() == initial.trim()) return null
        return input
    }
 

Users who are viewing this thread

Top