Resizing Window

BlitzMax Forums/MaxGUI Module/Resizing Window

Hardcoal(Posted 2013) [#1]
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?


col(Posted 2013) [#2]
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



Hardcoal(Posted 2013) [#3]
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..


col(Posted 2013) [#4]

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/


Hardcoal(Posted 2013) [#5]
Thanks Col