Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NGUI
#4
I haven't explained the SIZE_EXPAND and SIZE_AUTO constants. They're used when creating widgets as width and height parameters. SIZE_EXPAND means, sort of like, "expand to fit the available space". SIZE_AUTO means "fit to content" or "make as small as possible". You can always set sizes in pixels instead of using these constants.
Reply


Messages In This Thread
NGUI - by Marcus - 11-19-2022, 07:01 AM
RE: NGUI - by Marcus - 11-19-2022, 08:27 AM
RE: NGUI - by Marcus - 11-19-2022, 11:09 AM
RE: NGUI - by Marcus - 11-19-2022, 01:52 PM
RE: NGUI - by johnno1956 - 11-20-2022, 03:48 AM
RE: NGUI - by Marcus - 11-26-2022, 08:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)