Still more WIP

This commit is contained in:
Martín Lucas Golini
2025-01-03 22:01:16 -03:00
parent a96e033b81
commit c4bd88461d
10 changed files with 251 additions and 113 deletions

View File

@@ -56,6 +56,20 @@ void StatusDebuggerController::createContainer() {
mContainer->bind( "debugger_threads", mUIThreads );
mContainer->bind( "debugger_stack", mUIStack );
mContainer->bind( "debugger_breakpoints", mUIBreakpoints );
mContainer->runOnMainThread( [this] {
const Float width = mContainer->getPixelsSize().getWidth();
mUIThreads->setColumnWidth( 0, width * 0.1 );
mUIThreads->setColumnWidth( 1, eefloor( width * 0.88 ) );
mUIStack->setColumnWidth( 0, width * 0.05 );
mUIStack->setColumnWidth( 1, width * 0.3 );
mUIStack->setColumnWidth( 2, width * 0.15 );
mUIStack->setColumnWidth( 3, eefloor( width * 0.3 ) );
mUIStack->setColumnWidth( 4, width * 0.08 );
mUIStack->setColumnWidth( 5, width * 0.08 );
} );
}
} // namespace ecode