Cool. Thanks for the quick fix. This removed the bottom scroller.

The top scroller (that I assume is a part of the JEdit component) is still there even when the text area is empty. It would be nice to make it behave like the JTextArea in regards to scroller, but this is definitely not as bad as two scrollers stacked on top of each other :-) So whenever you have time...

Thanks,
Andrus


On Jan 12, 2009, at 10:00 PM, Andrey Razumovsky wrote:

Okay, JEdit has its own scrolling, so external JScrollPane is not needed.
Maybe this is causing problems. I committed, please try out

2009/1/12 Andrey Razumovsky <[email protected]>

Hi Andrus,

Nasty one. The second scrollbar appears when you switch to the second tab?
I can't see that, so this, so it is likely yet another Mac UI bug.
I never thought of this, but now I see JEdit has its own scrollers, and horizontal is always active, starting with 5 * width area. Also JEdit seems
to lack word wrap.
Yes, please open a JIRA. I'm quite short of time right now, but hopefully
will be able to have a look in few days.

Regards,
Andrey

2009/1/12 Andrus Adamchik <[email protected]>

Andrey, et al.

Just noticed the following visual oddity with SQLTemplate editors in the
Modeler:

http://people.apache.org/~aadamchik/sqltemplate.jpg<http://people.apache.org/%7Eaadamchik/sqltemplate.jpg >

Check out the double scroller in bottom right corner. I am not 100% sure, but I think this is related to the recent switch to the colored syntax
component (BTW the new EJBQL query editor using this component, also
displays similar behavior). It is not appearing in 2.0.4. Also if I expand the outer frame, the bottom scroller disappears, however the second scroller stays there, even though the text area has no content, and therefore should
not display a scroller at all.

Any ideas? I can open a Jira if needed.

Thanks,
Andrus




Reply via email to