mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-08-22 07:15:09 -04:00
-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:
@ -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>;
|
||||
|
Reference in New Issue
Block a user