fix styles

This commit is contained in:
Alex Okonechnikov 2025-12-31 05:47:08 -05:00
parent a614dcee32
commit 02c6d0bf47
2 changed files with 65 additions and 66 deletions

View file

@ -10,20 +10,21 @@
#include "view_zone.h"
#include <QCheckBox>
#include <QGraphicsView>
#include <QGraphicsLinearLayout>
#include <QGraphicsProxyWidget>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsView>
#include <QLabel>
#include <QPainter>
#include <QScrollBar>
#include <QStyleOption>
#include <libcockatrice/protocol/pb/command_shuffle.pb.h>
namespace {
namespace
{
constexpr qreal kTitleBarHeight = 24.0;
constexpr qreal kMinVisibleWidth = 100.0;
}
} // namespace
/**
* @param _player the player the cards were revealed to.

View file

@ -74,9 +74,7 @@ private:
QPointer<QGraphicsView> dragView;
void stopWindowDrag();
QPointF draggedWindowPos(const QPoint &screenPos,
const QPointF &scenePos,
const QPointF &buttonDownScenePos) const;
QPointF draggedWindowPos(const QPoint &screenPos, const QPointF &scenePos, const QPointF &buttonDownScenePos) const;
void resizeScrollbar(qreal newZoneHeight);
signals: