Fix deckeditor jitter problem; fix #1143

This commit is contained in:
Fabio Bas 2015-06-18 23:13:12 +02:00
parent 853342463a
commit d6ce1852a1
4 changed files with 50 additions and 47 deletions

View file

@ -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);