View Single Post
  #4  
Old 12-16-2006, 09:40 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
When a scroll control only has one child then it forwards all input to that child, that is needed for controls like GuiMLTextCtrl which resize themself dynamically. Otherwise you couldn't click on a GuiMLTextEditCtrl when it doesn't have text yet.

Eventually add a second invisible control (GuiControl).
Well, it had the GuiMLTextCtrl as a sub-parent, but I changed it so it was changed outside
GuiMLTextCtrl.. just had to change the coords and stuff :P
__________________
Reply With Quote