mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Рефакт
This commit is contained in:
@@ -25,20 +25,20 @@ void TraineesView::resizeEvent(QResizeEvent *event)
|
||||
|
||||
if(typeView == TypeView::onlyView)
|
||||
{//onlyView
|
||||
widthTrainee = width - (220 + 10);
|
||||
widthTrainee = width - (220 + 10 + 20);
|
||||
}
|
||||
else
|
||||
{//control
|
||||
if(adminMode)
|
||||
{
|
||||
#ifdef PROJECT_TYPE_DEBUG
|
||||
widthTrainee = width - (470 + 10);
|
||||
widthTrainee = width - (470 + 10 + 20);
|
||||
#else
|
||||
widthTrainee = width - (420 + 10);
|
||||
widthTrainee = width - (420 + 10 + 20);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
widthTrainee = width - (440 + 10);
|
||||
widthTrainee = width - (440 + 10 + 20);
|
||||
}
|
||||
if(widthTrainee < 250)
|
||||
widthTrainee = 250;
|
||||
|
||||
Reference in New Issue
Block a user