comparison view/Pane.cpp @ 498:dd6bd2d00f86

* Making the zoom reset button flat fixes the zoom wheels layout problem on os/x, but it means we'll have to find an icon for it -- at the moment it's invisible!
author Chris Cannam
date Mon, 23 Feb 2009 19:27:08 +0000
parents f60b6204856e
children c5c478ee37b1
comparison
equal deleted inserted replaced
497:5e6991aefdc5 498:dd6bd2d00f86
164 RangeMapper *rm = layer->getNewVerticalZoomRangeMapper(); 164 RangeMapper *rm = layer->getNewVerticalZoomRangeMapper();
165 if (rm) m_vthumb->setRangeMapper(rm); 165 if (rm) m_vthumb->setRangeMapper(rm);
166 } 166 }
167 167
168 m_reset = new NotifyingPushButton; 168 m_reset = new NotifyingPushButton;
169 m_reset->setFlat(true);
169 m_reset->setCursor(Qt::ArrowCursor); 170 m_reset->setCursor(Qt::ArrowCursor);
170 m_reset->setFixedHeight(16); 171 m_reset->setFixedHeight(16);
171 m_reset->setFixedWidth(16); 172 m_reset->setFixedWidth(16);
172 layout->addWidget(m_reset, 1, 2); 173 layout->addWidget(m_reset, 1, 2);
173 174