06-14-2008, 03:28 PM
|
Registered User
|
Join Date: Jan 2004
Posts: 403
|
|
GetGuiTextWidth/Height, GetGuiInnerWidth/Height, Maxsize
Hi,
something like
GetGuiTextWidth( size, font, style, text );
GetGuiTextHeight( size, font, style, text );
size = size in pt, like 12pt, 13pt etc -> 12, 13, etc
font = font as in "Arial"
style = b, i, etc
text = normal text xD
+
GuiControl.GetGuiInnerWidth/Height()
returns the "inner" width/height of a GuiCtrl
so a autowrapped text in a guimltextctrl is bigger than the actual linecount
+
GuiControl.maxExtent = { x, y };
GuiControl.maxSize = { x, y };
a "maximum" size, means the GuiControl rezises itself when it needs to become bigger to display all of its contents, but with a maximum size of the variable there |
__________________
|
|
|