Commit e497965e authored by Robert Knight's avatar Robert Knight
Browse files

Remove frames around main view and side panel. Remove space around play field.

svn path=/trunk/KDE/kdegames/kspaceduel/; revision=661521
parent eebf21c3
......@@ -76,6 +76,7 @@ MyMainView::MyMainView(QWidget *parent)
//view.setResizePolicy(Q3ScrollView::AutoOne);
view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setFrameStyle(QFrame::NoFrame);
for(p=0;p<2;p++)
{
......
......@@ -39,7 +39,6 @@ PlayerInfo::PlayerInfo(int pnr,QWidget *parent)
hitpoints(2,this),energy(2,this),wins(2,this)
{
setFixedWidth(45);
setFrameStyle(Panel|Raised);
QString str;
// int i;
......
......@@ -48,6 +48,7 @@ void MyTopLevelWidget::initGameWidgets( ){
playfield=new MyMainView(w);
QBoxLayout *toplayout=new QHBoxLayout(w);
toplayout->setMargin(0);
toplayout->addWidget(playerinfo[0]);
toplayout->addWidget(playfield);
toplayout->addWidget(playerinfo[1]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment