How to set the size of a textbox?

Everything related to the development of modules in jamovi

by AnselmJeong » Tue Jul 09, 2019 1:46 pm

Is there any property that controls the size of the textbox? Properties like 'minWidth' or 'minHeight' do not have any effect on textbox
.
I need a large, multiline text box, it may possibly look like a edit box in Rj editor.

Can the textbox allow multi-line property? If not, what UI control can I use?

I've searched developer's hub tutorial but I cannot find anywhere.
I even tried to find the yaml definition file of Rj editor user interface, but no luck.I could not find any github repository which contains the Rj editor source file.

Thank you for your valuable contribution..
AnselmJeong
 
Posts: 3
Joined: Thu Jul 20, 2017 1:00 pm

by jonathon » Sun Jul 21, 2019 11:51 pm

hi anselm,

really sorry for the delay. i think we had one of those situations where other team members thought *other* team members were going to respond.

so there's no easy way to do this, but it's certainly possible. you'll need to use the more advanced customization of the UI using javascript: https://dev.jamovi.org/ui-advanced-customisation.html

but if you can point me to a repo of your project somewhere, i can walk you through the process of putting an Rj editor like control into your project. i can also send you a slack invite if you like, because that's often easier.

again, sorry for the delay.

cheers

jonathon
User avatar
jonathon
 
Posts: 925
Joined: Fri Jan 27, 2017 10:04 am


Return to Module development