]> matita.cs.unibo.it Git - helm.git/commitdiff
A frame now surrounds the XMHTML widget.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 12 Nov 2002 18:26:48 +0000 (18:26 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 12 Nov 2002 18:26:48 +0000 (18:26 +0000)
helm/gTopLevel/gTopLevel.ml

index c4e070193efad73897ef21debc0548621bddc4b6..a1254be54f4a4c4677273f1fe9e8f0d383e1713b 100644 (file)
@@ -1975,12 +1975,13 @@ class rendering_window output (notebook : notebook) =
   GPack.vbox ~packing:(hbox0#pack ~expand:true ~fill:true ~padding:5) () in
  let _ =
   vboxl#pack ~expand:true ~fill:true ~padding:5 notebook#notebook#coerce in
+ let frame = GBin.frame ~packing:(vboxl#pack ~expand:true ~padding:5) () in
  let outputhtml =
   GHtml.xmhtml
    ~source:"<html><body bgColor=\"white\"></body></html>"
    ~width:400 ~height: 100
    ~border_width:20
-   ~packing:(vboxl#pack ~expand:true ~padding:5)
+   ~packing:frame#add
    ~show:true () in
  let scratch_window = new scratch_window outputhtml in
 object