Skip to content

Commit

Permalink
style: fix bug where tutorial background was transparent
Browse files Browse the repository at this point in the history
Signed-off-by: IonutMuthi <[email protected]>
  • Loading branch information
IonutMuthi committed Nov 11, 2024
1 parent e57badd commit ddedacf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gui/src/widgets/hoverwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@

#include "widgets/hoverwidget.h"

#include "stylehelper.h"

#include <QDebug>

#include <style.h>
#include <stylehelper.h>

using namespace scopy;

HoverWidget::HoverWidget(QWidget *content, QWidget *anchor, QWidget *parent)
Expand All @@ -40,7 +39,7 @@ HoverWidget::HoverWidget(QWidget *content, QWidget *anchor, QWidget *parent)
, m_relative(false)
, m_relativeOffset(nullptr)
{
StyleHelper::TransparentWidget(this, "hoverWidget");
Style::setBackgroundColor(this, json::theme::background_primary);
m_lay = new QHBoxLayout(this);
m_lay->setSizeConstraint(QLayout::SetFixedSize);
m_lay->setContentsMargins(0, 0, 0, 0);
Expand Down

0 comments on commit ddedacf

Please sign in to comment.