Рефакт

This commit is contained in:
2025-09-19 10:42:51 +03:00
parent 4eabd95506
commit d93e5e49c9
5 changed files with 23 additions and 16 deletions

View File

@@ -24,20 +24,20 @@ void InstructorsView::resizeEvent(QResizeEvent *event)
if(typeView == TypeView::onlyView)
{//onlyView
widthInstructor = width - (220 + 10);
widthInstructor = width - (220 + 10 + 20);
}
else
{//control
if(adminMode)
{
#ifdef PROJECT_TYPE_DEBUG
widthInstructor = width - (610 + 10);
widthInstructor = width - (610 + 10 + 20);
#else
widthInstructor = width - (560 + 10);
widthInstructor = width - (560 + 10 + 20);
#endif
}
else
widthInstructor = width - (480 + 10);
widthInstructor = width - (480 + 10 + 20);
}
if(widthInstructor < 250)
widthInstructor = 250;