mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
Fix spelling (#128)
* Fix spelling in .cpp files * Fix spelling in all files
This commit is contained in:
@@ -232,12 +232,12 @@ void SumGraphController::LegendView::layoutSubviews(bool force) {
|
||||
|
||||
void SumGraphController::LegendView::layoutSubviews(Step step, bool force) {
|
||||
KDCoordinate width = bounds().width();
|
||||
KDCoordinate heigth = bounds().height();
|
||||
KDCoordinate height = bounds().height();
|
||||
KDSize legendSize = m_legend.minimalSizeForOptimalDisplay();
|
||||
|
||||
if (legendSize.width() > 0) {
|
||||
m_sum.setFrame(KDRect(0, k_symbolHeightMargin, width-legendSize.width(), m_sum.minimalSizeForOptimalDisplay().height()), force);
|
||||
m_legend.setFrame(KDRect(width-legendSize.width(), 0, legendSize.width(), heigth), force);
|
||||
m_legend.setFrame(KDRect(width-legendSize.width(), 0, legendSize.width(), height), force);
|
||||
} else {
|
||||
m_sum.setFrame(bounds(), force);
|
||||
m_legend.setFrame(KDRectZero, force);
|
||||
|
||||
Reference in New Issue
Block a user