-Bug fixes:

--Adjust xaos cells when any group modification is made, such as random, clear, or row/col change.
--Remove some old style sheet code on the xforms tab that doesn't seem to make sense and was probably just a workaround for a transient Qt bug, of which there are hundreds.
This commit is contained in:
mfeemster
2015-09-14 20:53:19 -07:00
parent e8b8d70f47
commit 16dbbf1b29
3 changed files with 33 additions and 24 deletions

View File

@ -44,6 +44,9 @@ void FractoriumEmberController<T>::FillXaos()
}
}
}
m_Fractorium->ui.XaosTableView->resizeRowsToContents();
m_Fractorium->ui.XaosTableView->resizeColumnsToContents();
}
/// <summary>
@ -199,6 +202,8 @@ void Fractorium::OnRandomXaosButtonClicked(bool checked) { m_Controller->RandomX
void Fractorium::OnXaosRowDoubleClicked(int logicalIndex)
{
ToggleTableRow(ui.XaosTableView, logicalIndex);
ui.XaosTableView->resizeRowsToContents();
ui.XaosTableView->resizeColumnsToContents();
}
/// <summary>
@ -209,6 +214,8 @@ void Fractorium::OnXaosRowDoubleClicked(int logicalIndex)
void Fractorium::OnXaosColDoubleClicked(int logicalIndex)
{
ToggleTableCol(ui.XaosTableView, logicalIndex);
ui.XaosTableView->resizeRowsToContents();
ui.XaosTableView->resizeColumnsToContents();
}
template class FractoriumEmberController<float>;