[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/26809] Dimension of DefaultCaret is wrong
From: |
thebohemian at gmx dot net |
Subject: |
[Bug swing/26809] Dimension of DefaultCaret is wrong |
Date: |
24 Mar 2006 00:08:20 -0000 |
------- Comment #1 from thebohemian at gmx dot net 2006-03-24 00:08 -------
I found out that it is not JViewport.scrollToRect which calculates stuff wrong
but DefaultCaret which currently has the same height as the component it is
used in. Under this condition it is understandable why the scrollToRect method
always thinks it should scroll down.
My initial approach to fix the situation is by using the height value in
textComponent.modelToView(dot). I will look out if that fixes the problem.
--
thebohemian at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-03-24 00:08:19
date| |
Summary|JViewport - scrollToRect is |Dimension of DefaultCaret is
|too eager |wrong
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26809