<property name="currentIndex">
<number>0</number>
</property>
+ <property name="usesScrollButtons">
+ <bool>false</bool>
+ </property>
<widget class="QWidget" name="tabSourceFiles">
<property name="font">
<font>
<rect>
<x>0</x>
<y>0</y>
- <width>604</width>
- <height>1091</height>
+ <width>602</width>
+ <height>1088</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_22">
<include location="../res/Icons.qrc"/>
<include location="../res/Icons.qrc"/>
<include location="../res/Icons.qrc"/>
+ <include location="../res/Icons.qrc"/>
</resources>
<connections>
<connection>
*/
#define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0
-#define VER_LAMEXP_MINOR_LO 1
-#define VER_LAMEXP_BUILD 418
-#define VER_LAMEXP_SUFFIX Final-1
+#define VER_LAMEXP_MINOR_LO 2
+#define VER_LAMEXP_BUILD 421
+#define VER_LAMEXP_SUFFIX Alpha-1
/*
* Tools versions
{
ShellIntegration::install();
}
+
+ //Force resize, if needed
+ tabPageChanged(tabWidget->currentIndex());
}
}
actions.at(i)->setChecked(true);
}
}
-
- if(idx == tabWidget->indexOf(tabSourceFiles))
+
+ int initialWidth = this->width();
+ int maximumWidth = QApplication::desktop()->width();
+
+ if(this->isVisible())
+ {
+ while(tabWidget->width() < tabWidget->sizeHint().width())
+ {
+ int previousWidth = this->width();
+ this->resize(this->width() + 1, this->height());
+ if(this->frameGeometry().width() >= maximumWidth) break;
+ if(this->width() <= previousWidth) break;
+ }
+ }
+
+ if(idx == tabWidget->indexOf(tabOptions) && scrollArea->widget() && this->isVisible())
+ {
+ QApplication::processEvents();
+ while(scrollArea->viewport()->width() < scrollArea->widget()->width())
+ {
+ int previousWidth = this->width();
+ this->resize(this->width() + 1, this->height());
+ if(this->frameGeometry().width() >= maximumWidth) break;
+ if(this->width() <= previousWidth) break;
+ }
+ }
+ else if(idx == tabWidget->indexOf(tabSourceFiles))
{
m_dropNoteLabel->setGeometry(0, 0, sourceFileView->width(), sourceFileView->height());
}
+
+ if(initialWidth < this->width())
+ {
+ QPoint prevPos = this->pos();
+ int delta = (this->width() - initialWidth) >> 2;
+ move(prevPos.x() - delta, prevPos.y());
+ }
}
/*