shrink the compose message dialog a little, GitHub issue #133

dbus-notify
Zlatin Balevsky 2022-04-07 13:00:04 +01:00
parent 6f0450ec1c
commit 4f81f91219
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 2 additions and 1 deletions

View File

@ -65,11 +65,12 @@ class NewMessageView {
recipientsModel.addElement(new Recipient(it)) recipientsModel.addElement(new Recipient(it))
} }
recipientsList = new JList(recipientsModel) recipientsList = new JList(recipientsModel)
recipientsList.setVisibleRowCount(2)
window = builder.frame(visible : false, locationRelativeTo : mainFrame, window = builder.frame(visible : false, locationRelativeTo : mainFrame,
defaultCloseOperation : JFrame.DISPOSE_ON_CLOSE, defaultCloseOperation : JFrame.DISPOSE_ON_CLOSE,
iconImage : builder.imageIcon("/MuWire-48x48.png").image, iconImage : builder.imageIcon("/MuWire-48x48.png").image,
preferredSize: [800, 800]){ preferredSize: [800, 600]){
borderLayout() borderLayout()
panel(constraints : BorderLayout.NORTH) { panel(constraints : BorderLayout.NORTH) {
borderLayout() borderLayout()