Show More
@@ -189,8 +189,9 b' class CallTipWidget(QtGui.QLabel):' | |||||
189 | horizontal = 'Left' |
|
189 | horizontal = 'Left' | |
190 | pos = getattr(cursor_rect, '%s%s' %(vertical, horizontal)) |
|
190 | pos = getattr(cursor_rect, '%s%s' %(vertical, horizontal)) | |
191 | point = text_edit.mapToGlobal(pos()) |
|
191 | point = text_edit.mapToGlobal(pos()) | |
|
192 | point.setY(point.y() + padding) | |||
192 | if vertical == 'top': |
|
193 | if vertical == 'top': | |
193 |
point.setY(point.y() - tip_height |
|
194 | point.setY(point.y() - tip_height) | |
194 | if horizontal == 'Left': |
|
195 | if horizontal == 'Left': | |
195 | point.setX(point.x() - tip_width - padding) |
|
196 | point.setX(point.x() - tip_width - padding) | |
196 |
|
197 |
General Comments 0
You need to be logged in to leave comments.
Login now