Spark 2.6.0b2 Does not display the entire preference window.

Description

See this thread for details: http://www.igniterealtime.org/community/message/181961#181961

The window does not render with the buttons visible. You must manually resize the window to get the Apply Save and Close buttons.

Environment

Windows

Activity

Show:
Michael Will
March 4, 2009, 3:41 AM

Apply patch from Niklas Schaefer

Walter Ebeling
November 11, 2008, 4:15 AM

Patch provided by Niklas for inclusion in the trunk:

Index: src/java/org/jivesoftware/sparkimpl/preference/PreferenceDialog.java
===================================================================
— src/java/org/jivesoftware/sparkimpl/preference/PreferenceDialog.java (revision 10865)
+++ src/java/org/jivesoftware/sparkimpl/preference/PreferenceDialog.java (working copy)
@@ -79,7 +79,7 @@
JOptionPane.OK_CANCEL_OPTION, null, options, options[0]);
mainPanel.add(pane, BorderLayout.CENTER);
preferenceDialog.pack();

  • preferenceDialog.setSize(700, 480);
    + preferenceDialog.setSize(700, 550);
    preferenceDialog.setContentPane(mainPanel);
    preferenceDialog.setLocationRelativeTo(SparkManager.getMainWindow());

Niklas Schäfer
November 4, 2008, 10:47 PM

no problem...
i've sent in a bug fix for this issue

greetings
Niklas

Fixed

Priority

Major

Assignee

Michael Will

Reporter

Todd Getz