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

@@ -29,7 +29,13 @@ void InstructorsView::resizeEvent(QResizeEvent *event)
else
{//control
if(adminMode)
widthInstructor = width - (610 + 10);
{
#ifdef PROJECT_TYPE_DEBUG
widthInstructor = width - (610 + 10);
#else
widthInstructor = width - (560 + 10);
#endif
}
else
widthInstructor = width - (480 + 10);
}
@@ -75,8 +81,12 @@ void InstructorsView::preparationTreeWidget()
archiveVisible = true;
if(adminMode)
{
{
#ifdef PROJECT_TYPE_DEBUG
treeWidget->setColumnHidden(ColumnsTreeInsructors::clmn_ID, false);
#else
treeWidget->setColumnHidden(ColumnsTreeInsructors::clmn_ID, true);
#endif
}
else
{