Mercurial > cgi-bin > hgweb.cgi > ClipMan
diff src/name/blackcap/clipman/CoerceDialog.kt @ 33:277cbb78bc5a
A few tweaks. Piece of shit still can't left-align its labels. Sigh.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 30 Jan 2020 18:27:03 -0800 |
parents | 4d87bedb3f65 |
children | 376643a09b52 |
line wrap: on
line diff
--- a/src/name/blackcap/clipman/CoerceDialog.kt Thu Jan 30 18:01:57 2020 -0800 +++ b/src/name/blackcap/clipman/CoerceDialog.kt Thu Jan 30 18:27:03 2020 -0800 @@ -92,7 +92,7 @@ contentPane.apply { add(Box(BoxLayout.Y_AXIS).apply { alignmentX = Box.CENTER_ALIGNMENT - add(JLabel("Coerce proportionally-spaced text to:").apply { + add(JLabel("Coerce proportionally-spaced text to…").apply { horizontalAlignment = JLabel.CENTER alignmentX = JLabel.CENTER_ALIGNMENT border = BorderFactory.createEmptyBorder(BW2, BW2, BW, BW2) @@ -118,10 +118,10 @@ add(Box.createGlue()) }) add(JSeparator()) - add(JLabel("Coerce monospaced text to:").apply { + add(JLabel("Coerce monospaced text to…").apply { horizontalAlignment = JLabel.CENTER alignmentX = JLabel.CENTER_ALIGNMENT - border = BorderFactory.createEmptyBorder(BW2, BW2, BW, BW2) + border = BorderFactory.createEmptyBorder(BW, BW2, BW, BW2) }) add(Box(BoxLayout.X_AXIS).apply { border = BorderFactory.createEmptyBorder(0, BW2, BW, BW2) @@ -145,7 +145,7 @@ }) add(JSeparator()) add(Box(BoxLayout.X_AXIS).apply { - border = BorderFactory.createEmptyBorder(BW2, BW2, BW2, BW2) + border = BorderFactory.createEmptyBorder(BW, BW2, BW, BW2) add(Box.createGlue()) add(_cancel) add(Box.createGlue())