Revision 325 trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/gui/dialogs/FFrameTextDialog.java
FFrameTextDialog.java | ||
---|---|---|
166 | 166 |
*/ |
167 | 167 |
private void initialize() { |
168 | 168 |
this.setLayout(new BorderLayout()); |
169 |
this.setSize(419, 444);
|
|
169 |
this.setSize(419, 480);
|
|
170 | 170 |
this.add(getJContentPane(), java.awt.BorderLayout.CENTER); |
171 | 171 |
getPRotation().setRotation(fframetext.getRotation()); |
172 | 172 |
} |
... | ... | |
466 | 466 |
*/ |
467 | 467 |
public WindowInfo getWindowInfo() { |
468 | 468 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG); |
469 |
|
|
470 |
// vi.setResizable(false); |
|
471 | 469 |
m_viewinfo.setTitle(PluginServices.getText(this, "Propiedades_texto")); //$NON-NLS-1$ |
472 | 470 |
|
473 | 471 |
return m_viewinfo; |
... | ... | |
558 | 556 |
txtCellPadding.setEnabled(fframetext.isSurrounded()); |
559 | 557 |
txtCellPadding.setText(fframetext.getCellPadding() * 100 + ""); |
560 | 558 |
txtCellPadding.setSize(60, 20); |
561 |
txtCellPadding.setLocation(149, 74);
|
|
559 |
txtCellPadding.setLocation(155, 74);
|
|
562 | 560 |
txtCellPadding.addKeyListener(new java.awt.event.KeyAdapter() { |
563 | 561 |
|
564 | 562 |
public void keyReleased(java.awt.event.KeyEvent e) { |
... | ... | |
624 | 622 |
chkTitle = new JCheckBox(); |
625 | 623 |
chkTitle.setText(PluginServices.getText(this, "usar_titulo")); |
626 | 624 |
chkTitle.setSelected(fframetext.hasTitle()); |
627 |
chkTitle.setBounds(36, 17, 118, 19);
|
|
625 |
chkTitle.setBounds(36, 20, 118, 19);
|
|
628 | 626 |
chkTitle.addChangeListener(new javax.swing.event.ChangeListener() { |
629 | 627 |
|
630 | 628 |
public void stateChanged(javax.swing.event.ChangeEvent e) { |
... | ... | |
649 | 647 |
if (fframetext.hasTitle()) { |
650 | 648 |
txtTitle.setText(fframetext.getTitle()); |
651 | 649 |
} |
652 |
txtTitle.setBounds(35, 39, 254, 20);
|
|
650 |
txtTitle.setBounds(35, 47, 254, 20);
|
|
653 | 651 |
} |
654 | 652 |
return txtTitle; |
655 | 653 |
} |
... | ... | |
664 | 662 |
jPanel = new JPanel(); |
665 | 663 |
jLabel3 = new JLabel(); |
666 | 664 |
jPanel.setLayout(null); |
667 |
jPanel.setBounds(4, 294, 403, 89);
|
|
665 |
jPanel.setBounds(4, 303, 403, 105);
|
|
668 | 666 |
jPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, |
669 | 667 |
PluginServices.getText(this, "titulo_fframetext"), |
670 | 668 |
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, |
671 | 669 |
javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
672 |
jLabel3.setBounds(35, 64, 170, 20);
|
|
670 |
jLabel3.setBounds(35, 73, 175, 20);
|
|
673 | 671 |
jLabel3.setText(PluginServices.getText(this, "tamanyo_fuente")); |
674 | 672 |
jLabel3.setEnabled(fframetext.hasTitle()); |
675 | 673 |
jPanel.add(getTxtTitleSize(), null); |
... | ... | |
677 | 675 |
jPanel.add(getChkTitle(), null); |
678 | 676 |
jPanel.add(getTxtTitle(), null); |
679 | 677 |
jLabel4 = new JLabel(); |
680 |
jLabel4.setBounds(245, 64, 96, 20);
|
|
678 |
jLabel4.setBounds(245, 73, 96, 20);
|
|
681 | 679 |
jPanel.add(jLabel4, null); |
682 | 680 |
jLabel4.setText(PluginServices.getText(this, "pixeles")); |
683 | 681 |
jPanel.add(getColorTitle(), null); |
... | ... | |
693 | 691 |
private JTextField getTxtTitleSize() { |
694 | 692 |
if (txtTitleSize == null) { |
695 | 693 |
txtTitleSize = new JTextField(); |
696 |
txtTitleSize.setBounds(146, 65, 60, 20);
|
|
694 |
txtTitleSize.setBounds(190, 73, 50, 20);
|
|
697 | 695 |
txtTitleSize.setEnabled(fframetext.hasTitle()); |
698 | 696 |
int i = fframetext.getTitleSize(); |
699 | 697 |
if (i == 0 && !txtTitleSize.isEnabled()) { |
... | ... | |
744 | 742 |
jLabel6 = new JLabel(); |
745 | 743 |
jLabel7 = new JLabel(); |
746 | 744 |
jPanel1.setLayout(null); |
747 |
jPanel1.setBounds(5, 185, 403, 106);
|
|
745 |
jPanel1.setBounds(5, 185, 403, 115);
|
|
748 | 746 |
jPanel1.add(getTxtCellPadding(), null); |
749 | 747 |
jPanel1.add(getChkSurroundingRectangle(), null); |
750 | 748 |
jPanel1.add(jLabel, null); |
... | ... | |
766 | 764 |
jPanel1.add(jLabel6, null); |
767 | 765 |
jPanel1.add(jLabel7, null); |
768 | 766 |
jPanel1.add(jLabel5, null); |
769 |
// jPanel1.add(getColorFrame(), null); |
|
770 | 767 |
jPanel1.add(getColorFrame(), null); |
771 |
jPanel1.add(getColorFrame(), null); |
|
772 | 768 |
} |
773 | 769 |
return jPanel1; |
774 | 770 |
} |
... | ... | |
789 | 785 |
} |
790 | 786 |
txtFrameSize.setText(i + ""); |
791 | 787 |
// } |
792 |
txtFrameSize.setLocation(149, 47);
|
|
788 |
txtFrameSize.setLocation(155, 47);
|
|
793 | 789 |
txtFrameSize.setSize(60, 20); |
794 | 790 |
} |
795 | 791 |
return txtFrameSize; |
... | ... | |
804 | 800 |
if (m_colorChooser == null) { |
805 | 801 |
m_colorChooser = new ColorChooserPanel(); |
806 | 802 |
m_colorChooser.setAlpha(255); |
807 |
m_colorChooser.setBounds(new java.awt.Rectangle(155, 15, 80, 25));
|
|
803 |
m_colorChooser.setBounds(new java.awt.Rectangle(155, 15, 80, 30));
|
|
808 | 804 |
m_colorChooser |
809 | 805 |
.addActionListener(new java.awt.event.ActionListener() { |
810 | 806 |
|
... | ... | |
826 | 822 |
m_colorFont = new ColorChooserPanel(); |
827 | 823 |
m_colorFont.setAlpha(255); |
828 | 824 |
m_colorFont.setLocation(new java.awt.Point(158, 129)); |
829 |
m_colorFont.setSize(new java.awt.Dimension(80, 25));
|
|
825 |
m_colorFont.setSize(new java.awt.Dimension(80, 30));
|
|
830 | 826 |
m_colorFont.addActionListener(new java.awt.event.ActionListener() { |
831 | 827 |
|
832 | 828 |
public void actionPerformed(ActionEvent e) { |
... | ... | |
846 | 842 |
if (m_colorTitle == null) { |
847 | 843 |
m_colorTitle = new ColorChooserPanel(); |
848 | 844 |
m_colorTitle.setAlpha(255); |
849 |
m_colorTitle.setBounds(new java.awt.Rectangle(155, 11, 80, 25));
|
|
845 |
m_colorTitle.setBounds(new java.awt.Rectangle(155, 15, 80, 30));
|
|
850 | 846 |
m_colorTitle.addActionListener(new java.awt.event.ActionListener() { |
851 | 847 |
|
852 | 848 |
public void actionPerformed(ActionEvent e) { |
Also available in: Unified diff