L.S.,

When a bitmapButton is used, with both a picture and a text, the text is not displayed (the text should be projected over the picture). See the attached program and image.

Package:  wxHaskell 0.11.0,
          wxWidgets 2.8.9
OS:       Windows XP
Compiler: GHC version 6.10.1

--
Regards,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--
  ButtonImage.lhs
  2009-01-08


> import Graphics.UI.WX

> main :: IO ()
> main = start $
>  do
>   f  <- frame          [ fontSize := 18 ]
>   ok <- bitmapButton f [ on command := close f, picture := "button62.gif", text := "Ok" ]
>   -- (The image is not fully displayed, the text is not visible)
>
>   set f [ layout := 
>             column 1 [ widget ok
>                      ]
>         ]
>
>   return ()


<<attachment: button62.gif>>

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to