fix h. pos of type answer box

This commit is contained in:
Damien Elmes 2009-11-19 13:17:42 +09:00
parent 94bad194a6
commit 28420be794

View file

@ -603,9 +603,7 @@ new:
self.typeAnswerShowButton = QPushButton(_("Show Answer")) self.typeAnswerShowButton = QPushButton(_("Show Answer"))
hbox = QHBoxLayout() hbox = QHBoxLayout()
hbox.setContentsMargins(0,0,0,0) hbox.setContentsMargins(0,0,0,0)
hbox.addStretch(0)
hbox.addWidget(self.typeAnswerShowButton) hbox.addWidget(self.typeAnswerShowButton)
hbox.addStretch(0)
vbox.addLayout(hbox) vbox.addLayout(hbox)
self.connect(self.typeAnswerShowButton, SIGNAL("clicked()"), self.connect(self.typeAnswerShowButton, SIGNAL("clicked()"),
lambda: self.moveToState("showAnswer")) lambda: self.moveToState("showAnswer"))