Home
Products
Community
Manuals
Contact
Login or Signup

[Linux] Window sizes doesn't update after max.

BlitzMax Forums/MaxGUI Bug Reports/[Linux] Window sizes doesn't update after max.

Matt Merkulov(Posted 1+ years ago) #1
Window's width and height doesn't update after maximization in Linux using FLTK.

uperStrict

Framework brl.basic
Import maxgui.drivers
Import brl.eventqueue

Local Window:TGadget = CreateWindow( AppTitle, 0, 0, 640, 480, Null, Window_TItleBar | Window_Resizable )
MaximizeWindow( Window )

DebugLog GadgetWidth( Window )
DebugLog GadgetHeight( Window )

Repeat
	Select PollEvent()
		Case EVENT_WINDOWCLOSE
			exit
	End Select
Forever

Result is:
640
480