From: Eric Y. K. <eri...@gm...> - 2011-09-03 20:01:59
|
Salut Rémi, I don't know for sure, but I think I have some documentation which you may find helpful On Sat, Sep 03, 2011 at 13:56:59 +0300, Rémi Vion wrote: > - what is the attribute who tells widgets like buttons, or static > text fields to take the shape of the text they contain? I believe this is partly explained in the documentation for Graphics.UI.WXCore.Layout http://hackage.haskell.org/package/wxcore > - Is it possible to know the size of texts easilly (taking in > account police and size) ? Perhaps size (in the Sized class is what you want here?) > - where can I find a list of attributes of those widgets. > I looked for them, but for example, I know that buttons resize > according to text they contain, and I wans't able to find how to > remove this behaviour, or to set it for other text container. I think you're looking for Graphics.UI.WX.Classes in http://hackage.haskell.org/package/wx -- Eric Kow <http://erickow.com> |