OcularsGuiPanel.cpp   OcularsGuiPanel.cpp 
skipping to change at line 148 skipping to change at line 148
fieldCcdDimensions = new QGraphicsTextItem(ccdControls); fieldCcdDimensions = new QGraphicsTextItem(ccdControls);
fieldCcdRotation = new QGraphicsTextItem(ccdControls); fieldCcdRotation = new QGraphicsTextItem(ccdControls);
fieldTelescopeName = new QGraphicsTextItem(telescopeControls); fieldTelescopeName = new QGraphicsTextItem(telescopeControls);
fieldMagnification = new QGraphicsTextItem(telescopeControls); fieldMagnification = new QGraphicsTextItem(telescopeControls);
fieldFov = new QGraphicsTextItem(telescopeControls); fieldFov = new QGraphicsTextItem(telescopeControls);
fieldLensName = new QGraphicsTextItem(lensControls); fieldLensName = new QGraphicsTextItem(lensControls);
fieldLensMultipler = new QGraphicsTextItem(lensControls); fieldLensMultipler = new QGraphicsTextItem(lensControls);
QFont newFont = font(); QFont newFont = font();
newFont.setPixelSize(12); // Font size is 12
newFont.setPixelSize(StelApp::getInstance().getBaseFontSize()-1);
setControlsFont(newFont); setControlsFont(newFont);
//setControlsColor(QColor::fromRgbF(0.9, 0.91, 0.95, 0.9)); //setControlsColor(QColor::fromRgbF(0.9, 0.91, 0.95, 0.9));
//Traditional field width from Ocular ;) //Traditional field width from Ocular ;)
QFontMetrics fm(fieldOcularName->font()); QFontMetrics fm(fieldOcularName->font());
int maxWidth = fm.width(QString("MMMMMMMMMMMMMMMMMMM")); int maxWidth = fm.width(QString("MMMMMMMMMMMMMMMMMMM"));
int lineHeight = fm.height(); int lineHeight = fm.height();
fieldOcularName->setTextWidth(maxWidth); fieldOcularName->setTextWidth(maxWidth);
fieldOcularFl->setTextWidth(maxWidth); fieldOcularFl->setTextWidth(maxWidth);
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/