Texteditor hide

Discuss GUI programming with the MUI Royale plugin here
Post Reply
User avatar
lazi
Posts: 625
Joined: Thu Feb 24, 2011 11:08 pm

Texteditor hide

Post 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()              
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Texteditor hide

Post by airsoftsoftwair »

Looks like a bug... will be fixed.
Post Reply