Changeset 7991 in ntrip for branches/BNC_2.12/qwtpolar/qwt_polar_layout.cpp
- Timestamp:
- Jul 28, 2016, 10:32:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/qwtpolar/qwt_polar_layout.cpp
r4272 r7991 279 279 // half of the available space. 280 280 281 dim = qMin( hint.width(), rect.width() * d_data->legendRatio);281 dim = qMin( hint.width(), qreal(rect.width() * d_data->legendRatio) ); 282 282 283 283 if ( !( options & IgnoreScrollbars ) ) … … 294 294 else 295 295 { 296 dim = qMin( hint. height(), rect.height() * d_data->legendRatio);296 dim = qMin( hint.width(), qreal(rect.width() * d_data->legendRatio) ); 297 297 dim = qMax( dim, d_data->layoutData.legend.hScrollBarHeight ); 298 298 }
Note:
See TracChangeset
for help on using the changeset viewer.