mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Adding pin template to help work on Adium themes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5983 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
|
||||
package org.jivesoftware.spark;
|
||||
|
||||
import org.jivesoftware.Spark;
|
||||
import org.jivesoftware.spark.ui.ChatInputEditor;
|
||||
import org.jivesoftware.spark.util.ResourceUtils;
|
||||
|
||||
@ -47,6 +48,10 @@ public class ChatAreaSendField extends JPanel {
|
||||
|
||||
button = new JButton();
|
||||
|
||||
if (Spark.isMac()) {
|
||||
button.setContentAreaFilled(false);
|
||||
}
|
||||
|
||||
ResourceUtils.resButton(button, text);
|
||||
|
||||
add(button, new GridBagConstraints(1, 0, 1, 1, 0.0, 1.0, GridBagConstraints.EAST, GridBagConstraints.VERTICAL, new Insets(2, 2, 2, 2), 0, 0));
|
||||
|
||||
Reference in New Issue
Block a user