上传按钮不会渲染我希望vaadin
我不明白为什么上传按钮不在新行中。
这是我的代码 (主要从vaadin.com/docs/v7/framework/components/components-upload复制)
@SuppressWarnings("serial")
public class ApplicationLayout extends VerticalLayout implements View {
public ApplicationLayout() {
ImageUploader receiver = new ImageUploader();
Upload upload = new Upload(null, receiver);
upload.setButtonCaption("Inizio Upload");
upload.addSucceededListener(receiver);
final HorizontalLayout uploadInfoLayout = new HorizontalLayout();
uploadInfoLayout.addComponent(upload);
addComponent(uploadInfoLayout);
}
这就是现在的样子:
是否有一种将按钮“ inizio上传”下载下载的方法文本,如下图中:
谢谢
I've cannot understand why the upload button is not in a new line;
this is my code
(copied mostly from vaadin.com/docs/v7/framework/components/components-upload)
@SuppressWarnings("serial")
public class ApplicationLayout extends VerticalLayout implements View {
public ApplicationLayout() {
ImageUploader receiver = new ImageUploader();
Upload upload = new Upload(null, receiver);
upload.setButtonCaption("Inizio Upload");
upload.addSucceededListener(receiver);
final HorizontalLayout uploadInfoLayout = new HorizontalLayout();
uploadInfoLayout.addComponent(upload);
addComponent(uploadInfoLayout);
}
This is how is it looks like now:
Is there a way to put the button "Inizio Upload" below the text, like in the following picture:
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论