mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Рефакт
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user