2010-07-06 15:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Corrected: code completion popup's vertical positioning.
      It was not nonoring the visibility of horizintal ruler.
This commit is contained in:
Pritpal Bedi
2010-07-06 22:02:57 +00:00
parent a5231252b5
commit e4d109dae0
2 changed files with 7 additions and 2 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-06 15:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Corrected: code completion popup's vertical positioning.
It was not nonoring the visibility of horizintal ruler.
2010-07-06 23:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbffind.c
* src/common/hbwin.c

View File

@@ -1315,8 +1315,8 @@ void HBQPlainTextEdit::keyPressEvent( QKeyEvent * event )
QRect cr = cursorRect();
cr.setWidth( c->popup()->sizeHintForColumn( 0 ) + c->popup()->verticalScrollBar()->sizeHint().width() );
cr.setTop( cr.top() + 25 );
cr.setBottom( cr.bottom() + 25 );
cr.setTop( cr.top() + horzRulerHeight + 5 );
cr.setBottom( cr.bottom() + horzRulerHeight + 5 );
c->complete( cr ); // popup it up!
}