How to resize window created by tm-open-window?

40 views
Skip to first unread message

Ton Gerner

unread,
Apr 5, 2017, 12:48:03 PM4/5/17
to TiddlyWiki
Hi all,

According to the docs you can supply a width and/or height to the message tm-open-window.

I tried:

<$button message="tm-open-window" width="200" height="200">Click me</$button>

<$button message="tm-open-window" width=200 height=200>Click me</$button>

<$button message="tm-open-window" width="200px" height="200px">Click me</$button>

<$button message="tm-open-window" width=200px height=200px>Click me</$button>

to no avail.

Any ideas?

Cheers,

Ton

Mat

unread,
Apr 5, 2017, 1:25:51 PM4/5/17
to TiddlyWiki
Ton,

I have this in a button and it seems to work:

<$action-sendmessage $message="tm-open-window"   $param="..." height="600px" width="500px"/>

<:-)

Ton Gerner

unread,
Apr 5, 2017, 1:59:13 PM4/5/17
to TiddlyWiki
Hi Mat,

Thanks for a working solution (or need I say workaround?)

I still do not understand why you cannot assign width and/or height directly to the tm-open-window message. Or do I misread the docs?

Cheers,

Ton

Reply all
Reply to author
Forward
0 new messages