diff options
author | Roman Kennke <roman@kennke.org> | 2006-11-16 13:03:04 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-11-16 13:03:04 +0000 |
commit | 63cd013ae30b6b4db963ae282e484b7edaa97f63 (patch) | |
tree | 0ee04574919ef8f2949b0c585999aee46d5266ec /ChangeLog | |
parent | 231081816fd6f60043b8372914a23bae744ed992 (diff) | |
download | classpath-63cd013ae30b6b4db963ae282e484b7edaa97f63.tar.gz |
2006-11-16 Roman Kennke <kennke@aicas.com>
* javax/swing/text/FlowView.java
(LogicalView.getPreferredSpan): Calculate maximum correctly.
* javax/swing/text/GlyphView.java
(tabExpander): New field.
(tabX): New field.
(breakView): Set tabX on broken view.
(getPartialSpan): Let the painter fetch the span.
(getTabbedSpan): Update the tab expander field. Maybe trigger
relayout.
(getTabExpander): Simply return the stored expander.
* javax/swing/text/Utilities.java
(getTabbedTextOffset): Made algoritm a little smarter and more
efficient.
(getTabbedTextWidth): Don't add single char widths, instead add
chunks of characters.
* javax/swing/text/html/ParagraphView.java
(calculateMinorAxisRequirements): Adjust margin only when the
CSS span is not fixed.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +2006-11-16 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/FlowView.java + (LogicalView.getPreferredSpan): Calculate maximum correctly. + * javax/swing/text/GlyphView.java + (tabExpander): New field. + (tabX): New field. + (breakView): Set tabX on broken view. + (getPartialSpan): Let the painter fetch the span. + (getTabbedSpan): Update the tab expander field. Maybe trigger + relayout. + (getTabExpander): Simply return the stored expander. + * javax/swing/text/Utilities.java + (getTabbedTextOffset): Made algoritm a little smarter and more + efficient. + (getTabbedTextWidth): Don't add single char widths, instead add + chunks of characters. + * javax/swing/text/html/ParagraphView.java + (calculateMinorAxisRequirements): Adjust margin only when the + CSS span is not fixed. + 2006-11-16 David Gilbert <david.gilbert@object-refinery.com> * java/beans/beancontext/BeanContextSupport.java |