This commit is contained in:
2025-09-17 22:23:38 +03:00
parent 973ca4a31d
commit 6aab774795
10 changed files with 140 additions and 25 deletions

View File

@@ -30,7 +30,13 @@ void TraineesView::resizeEvent(QResizeEvent *event)
else
{//control
if(adminMode)
widthTrainee = width - (470 + 10);
{
#ifdef PROJECT_TYPE_DEBUG
widthTrainee = width - (470 + 10);
#else
widthTrainee = width - (420 + 10);
#endif
}
else
widthTrainee = width - (440 + 10);
}
@@ -80,7 +86,11 @@ void TraineesView::preparationTreeWidget()
if(adminMode)
{
#ifdef PROJECT_TYPE_DEBUG
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_ID, false);
#else
treeWidget->setColumnHidden(ColumnsTreeTrainees::clmn_ID, true);
#endif
}
else
{