[Xerte] How to get rid of frame
Robert Fentress
rfentres at vt.edu
Fri Apr 30 16:17:48 BST 2010
Thanks, again.
For anyone else who is interested, here is what I did. I added a Script
icon as the last item under the interface icon, expanded the Script
accordion pane for that Script icon, and added the following code:
rootIcon.hideControls();
rootIcon.txtSize._visible = false;
rootIcon.fonts._visible = false;
rootIcon.sizes._visible = false;
rootIcon.themes._visible = false;
I don't know if this is the best way to do it or if all that is obvious
to everyone on this list, but I thought I would share in case future
noobs need help. It worked for me.
Is there any tutorial out there on creating your own interface?
Best,
Rob
On 4/30/2010 10:13 AM, Julian Tenney wrote:
> The best doc is the help file.
>
> inspect(rootIcon) will tell you all the members of rootIcon - try that
> and you'll see what's what - then just set _visible = false for things
> you don't want.
>
> Alternatively turn visuals to 0 on the interface icon, and create an
> interface from scratch,
>
> J
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Robert
> Fentress
> Sent: 30 April 2010 15:13
> To: Xerte discussion list
> Subject: Re: [Xerte] How to get rid of frame
>
> Thanks, Julian. That gets rid of the controls I mentioned. Can I get
> rid of the other controls in the bottom toolbar? Making any change to
> these, such as changing the text size, causes the continue button to
> appear again.
>
> Also, is there a published API anywhere? I hate to bother folks if I
> can look this stuff up somewhere.
>
> Best,
> Rob
>
> On 4/30/2010 9:35 AM, Julian Tenney wrote:
>
>> rootIcon.hideControls();
>>
>>
>
More information about the Xerte
mailing list