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:
@@ -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
|
||||
|
||||
@@ -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!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user