mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Fix deckeditor jitter problem; fix #1143
This commit is contained in:
parent
853342463a
commit
d6ce1852a1
4 changed files with 50 additions and 47 deletions
|
|
@ -15,11 +15,11 @@ CardFrame::CardFrame(int width, int height,
|
|||
, info(0)
|
||||
, cardTextOnly(false)
|
||||
{
|
||||
setMaximumWidth(width);
|
||||
setMinimumWidth(width);
|
||||
setFixedWidth(width);
|
||||
setMinimumHeight(height);
|
||||
|
||||
pic = new CardInfoPicture(width);
|
||||
setContentsMargins(3, 3, 3, 3);
|
||||
pic = new CardInfoPicture(width - 6);
|
||||
text = new CardInfoText();
|
||||
|
||||
tab1 = new QWidget(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue