Fixed issue Sankore-32

preferencesAboutTextFull
shibakaneki 14 years ago
parent 30e35f0e2c
commit 71746cf34a
  1. 1
      src/board/UBBoardView.cpp
  2. 1
      src/board/UBBoardView.h
  3. 1
      src/domain/UBGraphicsTextItem.cpp

@ -638,7 +638,6 @@ UBBoardView::drawItems (QPainter *painter, int numItems,
QGraphicsItem* items[], QGraphicsItem* items[],
const QStyleOptionGraphicsItem options[]) const QStyleOptionGraphicsItem options[])
{ {
if (!mFilterZIndex) if (!mFilterZIndex)
{ {
QGraphicsView::drawItems (painter, numItems, items, options); QGraphicsView::drawItems (painter, numItems, items, options);

@ -9,7 +9,6 @@
#define UBBOARDVIEW_H_ #define UBBOARDVIEW_H_
#include <QtGui> #include <QtGui>
#include "core/UB.h" #include "core/UB.h"
class UBBoardController; class UBBoardController;

@ -256,6 +256,7 @@ void UBGraphicsTextItem::setTextHeight(qreal height)
qreal minHeight = fm.height() + document()->documentMargin() * 2; qreal minHeight = fm.height() + document()->documentMargin() * 2;
mTextHeight = qMax(minHeight, height); mTextHeight = qMax(minHeight, height);
update(); update();
setFocus();
} }

Loading…
Cancel
Save