- improved styling of stacktrace
This commit is contained in:
parent
d1b04623f8
commit
e6d21804ef
2 changed files with 7 additions and 4 deletions
|
@ -370,7 +370,7 @@ void LinboBackend::readFromStdout() {
|
||||||
QString stdOut = this->asynchronosProcess->readAllStandardOutput();
|
QString stdOut = this->asynchronosProcess->readAllStandardOutput();
|
||||||
QStringList lines = stdOut.split("\n");
|
QStringList lines = stdOut.split("\n");
|
||||||
for(QString line : lines) {
|
for(QString line : lines) {
|
||||||
this->logger->log(line, LinboLogType::StdOut);
|
this->logger->log(line.simplified(), LinboLogType::StdOut);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -378,7 +378,7 @@ void LinboBackend::readFromStderr() {
|
||||||
QString stdOut = this->asynchronosProcess->readAllStandardError();
|
QString stdOut = this->asynchronosProcess->readAllStandardError();
|
||||||
QStringList lines = stdOut.split("\n");
|
QStringList lines = stdOut.split("\n");
|
||||||
for(QString line : lines) {
|
for(QString line : lines) {
|
||||||
this->logger->log(line, LinboLogType::StdErr);
|
this->logger->log(line.simplified(), LinboLogType::StdErr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -229,10 +229,13 @@ void LinboStartActions::resizeAndPositionAllItems() {
|
||||||
this->errorLabelFont.setPixelSize(this->logFont.pixelSize() * 1.5);
|
this->errorLabelFont.setPixelSize(this->logFont.pixelSize() * 1.5);
|
||||||
this->errorLabel->setFont(this->errorLabelFont);
|
this->errorLabel->setFont(this->errorLabelFont);
|
||||||
|
|
||||||
this->errorDetailsLabel->setGeometry((this->width() * 0.3) / 2, this->errorLabel->height(), this->width() * 0.7, this->height() * 0.6);
|
int errorDetailsFontHeight = this->height() * 0.6;
|
||||||
this->errorDetailsFont.setPixelSize(this->errorLabelFont.pixelSize() / 2);
|
this->errorDetailsFont.setPixelSize(errorDetailsFontHeight / 12.5);
|
||||||
this->errorDetailsLabel->setFont(this->errorDetailsFont);
|
this->errorDetailsLabel->setFont(this->errorDetailsFont);
|
||||||
|
|
||||||
|
this->errorDetailsLabel->move((this->width() - this->errorDetailsLabel->width()) / 2, this->errorLabel->height());
|
||||||
|
this->errorDetailsLabel->setFixedHeight(errorDetailsFontHeight);
|
||||||
|
|
||||||
this->resetErrorButton->setGeometry((this->width() - this->cancelButton->width()) / 2, this->height() - this->cancelButton->width() * 1.1, this->cancelButton->width(), this->cancelButton->width());
|
this->resetErrorButton->setGeometry((this->width() - this->cancelButton->width()) / 2, this->height() - this->cancelButton->width() * 1.1, this->cancelButton->width(), this->cancelButton->width());
|
||||||
|
|
||||||
this->inited = true;
|
this->inited = true;
|
||||||
|
|
Reference in a new issue