Vertical Align Crystal Report Text Filed - crystal-reports

I have a scenario in which my reports fields doesn't look like centered Vertically,
Below is the screen Short of the output.
As it can bee seen from output that data with a bigger font is clearly seen centered vertically, but the data pointed with lines is left-top justified, i want that to be left-centered.
For vertical alignment I did this .
and code behind formula is:
if {NewReport;1.TireLevel} = 1
then
crCenteredHorizontally
else
crLeftAligned
The Editor Screen.

Sadly, Crystal Reports doesn't support vertical alignment in the same way it supports horizontal.
It's possible to use labels on the vertical ruler and enforce Snap to Grid, but that might not work within a table. Or you can add line breaks, blank rows, or plain white objects to push things into position. But there's no easy way to enforce a vertical center.
In your particular case, I would actually make two seperate fields: One for large text and one for small text. Layer them on top of each other and reuse your current formula to alternate their suppression. This way you can move the smaller text vertically down without undoing the vertical alignment on the large text field.

Related

How to Remove on Vertical Gridlines in Tableau Desktop App

I would like to only remove the vertical gridlines from a Tableau chart. I am aware that I can go to Format > Lines > Gridlines > Set to NONE. But this removes both vertical and horizontal gridlines. I am trying to only remove the vertical gridlines. (See the screenshot. I have made the gridlines little darker to demonstrate my question).
I looked around, but could not find a solution. Please help.
On the Column Divider from the Format Boarders menu, move the Level slider to the left.
Result:
At the top of the format pane in the left side bar, don't select the Borders icon (which looks like a little grid) Instead, select the Lines icon just to the right (which looks like a set of different width lines)
The Borders settings control the display of borders between cells and panes, i.e. the parts of the view created when putting discrete (blue) fields on the Rows or Columns shelves.
The Lines settings control the display of the axis, grid and other lines, i.e. the parts of the view created when putting continuous (green) fields on the Rows or Columns shelves.
Once you are working with the Lines format settings, you can scope your changes to either just the vertical grid lines, just the horizontal grid lines, or both by selecting Sheet, Rows or Columns from the tab just under the icons discussed above.
Experiment to get the hang of it. Whenever you change a setting from the default value, the title goes bold. You can right click on bold titles to clear the change, or you can clear all the changes to a section by hitting clear at the bottom of the format pane. So its easy to undo a change you don't like, allowing you to experiment with confidence to learn how the settings work.

Vertically center report footer in remaining space on page

Is it possible to vertically center my report footer in the leftover space at the end of the page? The size of this leftover section depends on number of data rows.
There's no easy way to vertically center things in Crystal. Frustrating as it may be, there's no Vertical Alignment property on most things, and the Size/Position of things is static except when other objects push them around to make room for themselves.
However there is a ridiculously silly hack you can do to make this work.
Write a formula, let's call it SillySpaceFormula, that uses a loop to generate a certain number of return characters. Based on the number of records on this page, SillySpaceFormula will grow or shrink inversely. Set Silly's font size to be half the size of your details section. Then place this formula in a section above the orange-outlined box and set "Can Grow" to True.
If you do this just right, SillySpaceFormula will grow by one line when a record is removed and shrink by one line when a record is added. Because the formula field Can Grow, the orange box in your screenshots will be moved up and down automatically.

Why is my UITextField being cut off at the trailing edge?

I'm trying to learn Auto Layout and playing around with various view combinations. I have various views containing other views, but the one I'm having trouble with is one that contains a label and a text field. They are set up like this:
There are several constraints set up on these, such as center Y alignment between the label, text field, and parent view, 0 leading edge for the label, and a hard coded value (12, but irrelevant) for the trailing edge of the text field. I had initially had it as a 0 trailing edge, aligning it with the parent container. However, the right edge of the text field seems to be cutting off and I have no idea why... I Started increasing the distance, thinking that may be there's a margin issue, but nothing seems to help!
Would love any input.

Borders doubling up on Jasper report

I may be approaching this the wrong way but I've created a few Jasper reports now (Eclipse plugin) which I am exporting variously to pdf, docx and odt. The only way I've found to create 'tables' is to position adjacent text boxes. I've noticed that I get lines of double thickness if I leave borders overlapping (i.e upper box has a solid bottom border and lower box has a solid upper border), even if I position them on top of each other.
So far no problem as I have been configuring the borders to not overlap (i.e. where 2 text boxes overlap I leave one of the borders as transparent). However one of my sub reports is just a repeating box in the detail section though so I can't do this here or the bottom or top would be missing. I'm assuming this must come up a lot ? Is there a way around this ?
I must admit I haven't tried setting the bottom border blank yet and adding a line at the bottom of the 'table' as I'm hoping there may be a more appropriate technique ?
Apologies if this isn't clear. Please let me know if not.
Thanks,

Access form: Datasheet view: How to remove the empty area on the right of the table

I have a form that is shown in datasheet view. There are 35 fields (columns), so I have to scroll horizontally. It is ok, no problem. The only thing I don't like is that, after last column, a big white space (empty) area appears. It is like if there was a padding or margin on the right of the table.
How can I remove that white space area? (I don't like having to scroll to see only white space)
That's just the way a datasheet works. Think of how an Excel worksheet looks. If you want to control the layout more precisely, you could present the data as a continuous form with many columns and anchor the right edge of the form to the right edge of the window. But then you would sacrifice the power of the datasheet view (two-way compatibility with Excel, etc.).