简体   繁体   English

如何使矩形内的对象在SSRS中不移动?

[英]How to make objects inside a rectangle NOT move in SSRS?

I have a rectangle and its background image is a screenshot of a form. 我有一个矩形,它的背景图像是表单的屏幕截图。

I have placed many Gauge Panels on this rectangle where check marks need to be. 我在需要复选标记的此矩形上放置了许多仪表板。

Based on certain logic, the Gauge Panel will be visible or not. 根据某些逻辑,“仪表盘”面板将不可见。

The problem is that if all Gauge Panels on the left side are hidden, it moves all the Gauge Panels on the right side. 问题是,如果左侧的所有仪表板都被隐藏,则会移动右侧的所有仪表板。

Here's a screenshot during design mode: 这是设计模式下的屏幕截图:

And here's when I run it: 这是我运行它的时间:

I'm assuming it has moved because there was no visible "Yes" check mark. 我假设它已经移动,因为没有可见的“是”复选标记。

How should I go about making sure these panels are FIXED inside the rectangle? 如何确保这些面板固定在矩形内?

EDIT - 编辑-

I tried putting the items inside rectangles and I'm running into the same problem: 我尝试将项目放入矩形中,但遇到了同样的问题:

Place your gauges inside fixed rectangles so even when they're not visible, their container rectangles will still take up space in your report on the left side and not interfere with the checks on the right hand side. 将仪表放置在固定的矩形内,这样即使看不见它们,它们的容器矩形仍将占据报表左侧的空间,并且不会干扰右侧的检查。

My general rule of thumb when trying to do fixed layouts in SSRS is use a lot of rectangles, as they are rendered as absolute DIVs and therefore bend to your whim a bit more in terms of heights, widths, and positioning. 尝试在SSRS中进行固定布局时,我的一般经验法则是使用大量矩形,因为它们被渲染为绝对DIV,因此在高度,宽度和位置方面更加随意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM