KDZ Setting PIXEL size of BitmapButton...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/06/2004 at 19:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Windows ;
Language(s) : C++ ;---------
When I use AddCustomGui(.,.,.,.,minw,minh,.), if I use positive values, it uses the same values as SIZE (based upon font), but if I use negative values it does weird things (like making the dialog as large as my 1600x1200 screen when the button should only 100x100 pixels).So, how can you set the Pixel size of a BitmapButton?
Thanks,
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/06/2004 at 22:06, xxxxxxxx wrote:
Nowadays I think you should use SizePix() or SizeChr() for those values. (Hm, I can see how it would have been nice to say this in the documentation...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/06/2004 at 22:34, xxxxxxxx wrote:
Definitely. Nonetheless, this is a good thing to know!!
Thank you once again, Mikael.
Robert