Revision 10993 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/CharacterMarker.java
CharacterMarker.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.2 2007-03-09 11:25:00 jaume |
|
46 |
* Revision 1.3 2007-03-30 12:54:11 jaume |
|
47 |
* *** empty log message *** |
|
48 |
* |
|
49 |
* Revision 1.2 2007/03/09 11:25:00 jaume |
|
47 | 50 |
* Advanced symbology (start committing) |
48 | 51 |
* |
49 | 52 |
* Revision 1.1.2.7 2007/02/21 07:35:14 jaume |
... | ... | |
189 | 192 |
pnl.setBackground(bgColor); |
190 | 193 |
SymbolPreviewer sp = new SymbolPreviewer(); |
191 | 194 |
sp.setAlignmentX(Component.CENTER_ALIGNMENT); |
192 |
sp.setPreferredSize(new Dimension(30, 30)); |
|
195 |
int prevSize = 30; |
|
196 |
sp.setPreferredSize(new Dimension(prevSize, prevSize)); |
|
193 | 197 |
sp.setSymbol(sym); |
194 | 198 |
sp.setBackground(bgColor); |
199 |
sym.setSize(prevSize*.8); |
|
195 | 200 |
pnl.add(sp); |
196 | 201 |
JLabel lbl = new JLabel(sym.getDescription()); |
197 | 202 |
lbl.setBackground(bgColor); |
Also available in: Unified diff