Revision 2344
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameText.java | ||
---|---|---|
338 | 338 |
int minSFS = Integer.MAX_VALUE; |
339 | 339 |
FontRenderContext frc = g.getFontRenderContext(); |
340 | 340 |
int ht = (int) (r.getHeight() / m_text.size()); |
341 |
|
|
341 |
if (isFontSizeFixed()){ |
|
342 |
minSFS=sfs; |
|
343 |
}else{ |
|
342 | 344 |
for (int i = 0; i < m_text.size(); i++) { |
343 | 345 |
if (!((String) m_text.get(i)).equals("")) { |
344 | 346 |
TextLayout textaux = new TextLayout((String) m_text.get(i), |
... | ... | |
358 | 360 |
} |
359 | 361 |
} |
360 | 362 |
} |
363 |
} |
|
361 | 364 |
|
362 | 365 |
TextLayout textLayout = null; |
363 | 366 |
|
Also available in: Unified diff