mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix(tooltips): hide image label by default (#5232)
This commit is contained in:
parent
8cea86cf17
commit
26bb4e236d
|
@ -98,6 +98,7 @@
|
||||||
- Bugfix: Fixed link info not updating without moving the cursor. (#5178)
|
- Bugfix: Fixed link info not updating without moving the cursor. (#5178)
|
||||||
- Bugfix: Fixed an upload sometimes failing when copying an image from a browser if it contained extra properties. (#5156)
|
- Bugfix: Fixed an upload sometimes failing when copying an image from a browser if it contained extra properties. (#5156)
|
||||||
- Bugfix: Fixed tooltips getting out of bounds when loading images. (#5186)
|
- Bugfix: Fixed tooltips getting out of bounds when loading images. (#5186)
|
||||||
|
- Bugfix: Fixed split header tooltips appearing too tall. (#5232)
|
||||||
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
|
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
|
||||||
- Dev: Change clang-format from v14 to v16. (#4929)
|
- Dev: Change clang-format from v14 to v16. (#4929)
|
||||||
- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791)
|
- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791)
|
||||||
|
|
|
@ -24,6 +24,7 @@ TooltipEntryWidget::TooltipEntryWidget(ImagePtr image, const QString &text,
|
||||||
this->displayImage_ = new QLabel();
|
this->displayImage_ = new QLabel();
|
||||||
this->displayImage_->setAlignment(Qt::AlignHCenter);
|
this->displayImage_->setAlignment(Qt::AlignHCenter);
|
||||||
this->displayImage_->setStyleSheet("background: transparent");
|
this->displayImage_->setStyleSheet("background: transparent");
|
||||||
|
this->displayImage_->hide();
|
||||||
this->displayText_ = new QLabel(text);
|
this->displayText_ = new QLabel(text);
|
||||||
this->displayText_->setAlignment(Qt::AlignHCenter);
|
this->displayText_->setAlignment(Qt::AlignHCenter);
|
||||||
this->displayText_->setStyleSheet("background: transparent");
|
this->displayText_->setStyleSheet("background: transparent");
|
||||||
|
|
Loading…
Reference in a new issue