X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormCharacter.C;h=5689892814207113a1e17f148c25da88eaf7f834;hb=14c60d0aaeff364a78f77e163e6eae5fc3dab8c0;hp=cfe6bc5c3a6352f000744885b8e5ff0ab514ac56;hpb=d4ee9c38b6aa45146f67658352623bcbc3e0ad9b;p=lyx.git diff --git a/src/frontends/xforms/FormCharacter.C b/src/frontends/xforms/FormCharacter.C index cfe6bc5c3a..5689892814 100644 --- a/src/frontends/xforms/FormCharacter.C +++ b/src/frontends/xforms/FormCharacter.C @@ -26,7 +26,7 @@ #include "combox.h" using Liason::setMinibuffer; - +using SigC::slot; FormCharacter::FormCharacter(LyXView * lv, Dialogs * d) : FormBaseBD(lv, d, _("Character Layout")) @@ -51,9 +51,7 @@ FL_FORM * FormCharacter::form() const void FormCharacter::build() { dialog_.reset(build_character()); - // Workaround dumb xforms sizing bug - minw_ = form()->w; - minh_ = form()->h; + // Manage the ok, apply and cancel/close buttons bc().setApply(dialog_->button_apply); bc().setCancel(dialog_->button_close);