Page 1 of 1

Texteditor hide

Posted: Sun Nov 09, 2014 9:49 pm
by lazi
The following code is opens a texteditor class and hides is.t The textfield is hiding, but the scrollbar is remains in the window.
If you turn scrollbar off before the hide, it is working as intended.

Bug or feature?

Code: Select all

mainwindow=[[
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app" base="TextEditor-Demo">
	<window id="win" title="TextEditor-Demo" muiid="MAIN" notify="closerequest; mouseobject">
		<vgroup>
			<vgroup background="groupback" frame="group">
				<texteditor id="editor" scrollbar="true" cyclechain="1" notify="areamarked; undoavailable; stylebold; styleitalic; styleunderline; color; align" notifydata="stylebold: tb_bold; styleitalic: tb_italic; styleunderline: tb_underline"/>

				<text id="status"/>
			</vgroup>
		</vgroup>
	</window>
</application>

]]

mui.CreateGui(mainwindow)
mui.set("editor","hide",1)
WaitLeftMouse()              

Re: Texteditor hide

Posted: Mon Nov 10, 2014 4:03 pm
by airsoftsoftwair
Looks like a bug... will be fixed.