NetBeans GUI Builder 中的对齐对齐由什么决定?
我对 NetBeans GUI Builder 的“捕捉”行为感到困惑 - 当我在容器内移动组件时,这些虚线(以及它们施加的磁力)。它是由布局管理器决定的吗?或者通过容器属性(例如 Insets)?我没想到绝对布局对对齐有任何“偏好”,但即使它似乎也有一些“网格”的概念,它将我的组件拉向该网格。如何或在哪里改变这一点?
I'm perplexed by the "snapping" behavior of NetBeans GUI Builder - those dotted lines (and the magnetic force they exert) as I move components about within a container. Is it determined by the Layout Manager? Or by container properties such as Insets? I wouldn't have expected the Absolute Layout to have any "preference" about alignment, yet even it seems to have some notion of a "grid" toward which it pulls my components. How or where does one change this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须使用变通办法来做到这一点。
如果您这样做...
那么您会将捕捉减少到 10 x 10 像素。
如果您想做得更好,则必须执行以下操作:
http://forums。 netbeans.org/post-37209.html
You have to use a work around to do this.
If you do...
Then you will reduce the snapping to 10 by 10 pixels.
If you want to get better than that, you have to do something like this:
http://forums.netbeans.org/post-37209.html