IntelliJ:如何像Eclipse一样使用No Layout或Absolute Layout? [英] IntelliJ: How to use No Layout or Absolute Layout like Eclipse?

查看:331
本文介绍了IntelliJ:如何像Eclipse一样使用No Layout或Absolute Layout?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说了所有我想不使用Eclipse的布局或绝对布局的内容.有办法吗?

Title says all I would like to use no layout or the absolute layout from Eclipse. Is there a way of doing this?

推荐答案

否.

IntelliJ不支持它.为什么不想使用LayoutManager?

来源: http://devnet.jetbrains.com/message/3537347?tstart = 0

如果使用绝对布局,则必须完全自己调整大小,确保自己将所有内容对齐(可能位于嵌套容器的深处),等等.

If you use absolute layout, you have to do resizing entirely yourself, making sure things are lined up (which could be deep inside nested containers) by yourself, etc.

签出GroupLayout: http://docs.oracle .com/javase/tutorial/uiswing/layout/group.html

这篇关于IntelliJ:如何像Eclipse一样使用No Layout或Absolute Layout?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆