diff options
| author | ppedrot | 2012-04-18 19:24:01 +0000 |
|---|---|---|
| committer | ppedrot | 2012-04-18 19:24:01 +0000 |
| commit | 6b0199b638da7bdc648fa4e53c94544d9c5b57cb (patch) | |
| tree | 82926a7e1b9ca3b85f2605c3a7dd4ef5a200e220 | |
| parent | 2e13014849ef67bb5bab15ad22e68c883b4fb6b5 (diff) | |
Fixed the CoqIDE preference width
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15217 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | ide/preferences.ml | 2 | ||||
| -rw-r--r-- | ide/utils/configwin.ml | 4 | ||||
| -rw-r--r-- | ide/utils/configwin_ihm.ml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ide/preferences.ml b/ide/preferences.ml index eb63b14897..d320dddab4 100644 --- a/ide/preferences.ml +++ b/ide/preferences.ml @@ -694,7 +694,7 @@ let configure ?(apply=(fun () -> ())) () = (* Format.printf "before edit: current.text_font = %s@." (Pango.Font.to_string !current.text_font); *) - let x = edit ~apply ~width:640 "Customizations" cmds in + let x = edit ~apply "Customizations" cmds in (* Format.printf "after edit: current.text_font = %s@." (Pango.Font.to_string !current.text_font); *) diff --git a/ide/utils/configwin.ml b/ide/utils/configwin.ml index 3ff607991e..4606ef29fd 100644 --- a/ide/utils/configwin.ml +++ b/ide/utils/configwin.ml @@ -60,9 +60,9 @@ let html = Configwin_ihm.html let edit ?(apply=(fun () -> ())) - title ?(width=400) ?(height=400) + title ?width ?height conf_struct_list = - Configwin_ihm.edit ~with_apply: true ~apply title ~width ~height conf_struct_list + Configwin_ihm.edit ~with_apply: true ~apply title ?width ?height conf_struct_list let get = Configwin_ihm.edit ~with_apply: false ~apply: (fun () -> ()) diff --git a/ide/utils/configwin_ihm.ml b/ide/utils/configwin_ihm.ml index c13a0b3cf4..7dbd04529e 100644 --- a/ide/utils/configwin_ihm.ml +++ b/ide/utils/configwin_ihm.ml @@ -1136,12 +1136,12 @@ let tabbed_box conf_struct_list buttons tooltips = to configure the various parameters. *) let edit ?(with_apply=true) ?(apply=(fun () -> ())) - title ?(width=400) ?(height=400) + title ?width ?height conf_struct = let dialog = GWindow.dialog ~position:`CENTER ~modal: true ~title: title - ~height ~width + ?height ?width () in let tooltips = GData.tooltips () in |
