Resizing Window
BlitzMax Forums/MaxGUI Module/Resizing Window
| ||
| Hi When I resize a window in maxgui and the window have a text area the text area size can only be updated after mouse drag is over. how can I do that the text area size will adjusted while im dragging? |
| ||
Maybe a silly question, but you never know... are you using SetGadgetLayout for the TextArea ?
Import maxgui.drivers
Local win:Tgadget = CreateWindow("Test window",0,0,400,400,Desktop())
Local ta:TGadget = CreateTextArea(0,0,ClientWidth(win)/2,ClientHeight(win)/2,win)
SetGadgetLayout ta,EDGE_ALIGNED,EDGE_ALIGNED,EDGE_ALIGNED,EDGE_ALIGNED
Repeat
WaitEvent
Select EventID()
Case EVENT_WINDOWCLOSE,EVENT_APPTERMINATE
End
EndSelect
Forever
|
| ||
| No i havnt. Im just trying maxide . got no much knowledge bout it. Each gui has its own crazy approch so its hard to figure it out alone. So thanks.. |
| ||
| Im just trying maxide . got no much knowledge bout it. No worries. In which case I shall point you to here -> http://www.2dgamecreators.com/maxgui/ |
| ||
| Thanks Col |