Modify dropupload window

asked 2022-06-21 22:23:28 +0800

softteam gravatar image softteam
130 1 8


I would like to know if there is any way to modify the <dropupload> window beacause in spanish there is no sufficient space between "Especificar archivo de su sistema local" and the Explorer button:

image description

I used this fiddle: https://zkfiddle.org/sample/mh6l3f/1-dropupload-and-fileupload

Thank you,


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-06-23 12:36:04 +0800

hawk gravatar image hawk
3205 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2022-06-23 12:36:24 +0800

That upload dialog is created by Fileupload.get() instead of dropupload. Fileupload.get() creates that dialog based on an internal template.

change the message

You can change the label in the dialog by adding space Fileupload.get("your message ", "title");

css margin

If there is no other modal window on the page, you can add some margin on the label <style> .z-window-modal .z-label{ margin-right: 10px; } </style>

modify template

the last resort is to call Fileupload.setTemplate("yourDialog.zul"). You can create a new template based on the internal template at at zul-9.6.2.jar!/web/zul/html/fileuploaddlg.zul

I will create a bug for this case.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2022-06-21 22:23:28 +0800

Seen: 8 times

Last updated: Jun 23 '22

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More