X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtCommandButton.cxx~;h=1b526afcc8a6bde67c9d98afcc52c107b2da8e66;hb=aec464d8738507b9d26fc6915c7c063cab636dde;hp=df7929a09a62c23c8003104a404586cd60820faf;hpb=26116b2d4181a4ed3fffa07fbb75ef527d32d740;p=creaWT.git diff --git a/wt/bbtk_wt_PKG/src/bbwtCommandButton.cxx~ b/wt/bbtk_wt_PKG/src/bbwtCommandButton.cxx~ index df7929a..1b526af 100644 --- a/wt/bbtk_wt_PKG/src/bbwtCommandButton.cxx~ +++ b/wt/bbtk_wt_PKG/src/bbwtCommandButton.cxx~ @@ -20,6 +20,7 @@ namespace bbwt void SetLabel(Wt::WString nLabel); + private: CommandButton* mBox; Wt::WPushButton *mwtPushButton; @@ -35,7 +36,7 @@ namespace bbwt { Wt::WContainerWidget *container = this; mwtPushButton = new Wt::WPushButton(label,parent); - mwtPushButton->setMinimumSize(200,40); + mwtPushButton->setMinimumSize(170,30); mwtPushButton->clicked().connect(this, &CommandButtonWidget::OnCommandButton); container->addWidget(mwtPushButton); }