durian-swt
durian-swt copied to clipboard
Reactive utilities and fluent builders for SWT
Using `Shells.setPositionIncludesTrim(false)` places the top left and sets the width correctly, but it makes the shell too tall (by an amount equal to the height of the titlebar).
- move instructions to the left, so they are always in the same spot. - consider snapshot support, perhaps dialog should support a "replay" mode - allow test to throw...
It should be possible to create a shell without opening it. It's also not clear that the `andBlock` methods are a good idea. We should look at where it is...
It seems like Kotlin has a case-insensitivity bug. https://github.com/diffplug/durian-swt/blob/f1b1e6306b6b0ac93f4e3186c92c1bbfc314d5b4/durian-swt/src/main/java/com/diffplug/common/swt/ControlWrapper.kt#L114-L125 This code used to be java, and it had the same bug. I switched it to Kotlin to try to fix...