Flex TextArea, increase number of rows to more than 100 - flex3

I am using TextArea to display some text information in rows in flex gui, it automatically restricts the number of lines to display to 100 lines. But I want more than 100 lines in the text area.
How can I increase number of lines to display?

never heard about that limitation. Here there's an article that deals with textArea numLines:
http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/

Related

valign images in xlsxwriter cell

Is there any hack for v-aligning images in a cell
I am trying to create a dashboard,those traffic lights are images.
Since once of the columns is a text-wrap and the height of those rows
are dynamic, I have no way of knowing the row height to calculate the y_offset for those images
Does anyone have a recommendation on how I can handle this? Is there a way of getting the row_height after sheet.write and text_wrap format is applied?
Is there a way of getting the row_height after sheet.write and text_wrap format is applied?
Probably not without access to Windows APIs for calculating bounding boxes for strings.
You could probably make some working estimates based on the length of your string. Each new line in text wrap is equal to 15 character units or 20 pixels.
Since once of the columns is a text-wrap and the height of those rows are dynamic, I have no way of knowing the row height to calculate the y_offset for those images
This is the main problem. In order to specify the image position exactly you will need to specify explicit row heights so that XlsxWriter can calculate where the image will go based on the size of the cell. In order words you will have to avoid the automatic row height that Excel gives you when wrapping text.
Once the row height is fixed you can position images exactly where you want them using the 'x_offset' and 'y_offset' options.
Note, you can also use conditional formatting to create traffic lights based on cell values. See Sheet9/Example 9 of this code from the XlsxWriter docs and image below. These can be centered automatically even with with text wrapping.

Altair tooltips: Is there a way to format box shape for long text?

I have a chart where I want to display text tooltips of variable lengths as long as 300 characters, but they are displayed with random box sizes. Sometimes they are shown in a neat square box with several lines of text, which is nice. But sometimes they attempt to put all the text in one line and it doesn't fit in the chart, so some part of the text is not visible.
I wonder if there is a way to format the tooltip box to a fixed maximum width to avoid this problem.
Below are two pictures showing the same chart. The first one shows a tooltip box out of the chart and page, so the complete text is not visible. The second one shows another tooltip that randomly shows the text fine.
Note: I tried cutting the text to a fixed length of 50 or 80 characters and it's better, but I would prefer to have the complete text.

How to fix Figure Caption automatic Numbers when placing Section Breaks?

I'm trying to make sections at Word 2016 with Nex Page Breaks and I need to insert images (aka figures for APA Style), and I need to include caption on them.
Caption is auto generated, but at some points, when I insert the next page break, the Caption numeration is screwed, like figure 5 is figure 6 and figure 6 is 5 (and that is reflected at my Figures Index).
I have tried normal break, using top and bottom selection on pictures, but it does not work.
What should I do?
Thanks!.

How to avoid data being cut when presenting a BIRT report as PDF?

After exporting report in PDF format I realized that a few rows were hidden. As you can see in the image:
Notice that the 1st row in the second page is not the next row fetched by the data set, which should actually be 10 January 15 03:00.
Also, there's no Page Break, instead the default layout comes from the Master Page which is US letter.
I've been trying different solutions for this problem and after checking
M Williams and James Jenkins suggestions (among others) I still couldn't find it.
Perhaps Dominique could help? Dom?
The large blank space we can see below this table suggests there is a fixed margin or something like that which prevents all rows to be displayed. What is the value of the "Page break interval" property of the table? By default it is 40, try to decrease it until all rows are displayed in PDF. Otherwise you need to find out which element of the report has a fixed height or margin, This blank space might also be due to a property of the master page such margins and footer size

SSRS 2005 with matrix and list shows blank page between every data page when printing or exporting to PDF

I am using SQL Server Reporting Services 2005 - I have created a portrait A4 report 8.5in by 11in.
The report consists of a header, body and a footer.
The body consists of a number of textboxes in a 2 column layout and underneath them a matrix placed onto a list.
The matrix consits of 2 fixed rows (with 1 fixed textual column in the top row and 2 dataset field columns in the bottom one) and a number of columns (each with a width of 0.875in and data taken from different dataset fields). I use the group expression =Ceiling(RowNumber(Nothing)/5) on the list, to make the matrix columns start below the previous ones every 5 repeated columns.
The problem I am facing is that a blank page (with only header and footer) is appearing between every page of report data when I export the report to PDF or print it physically, if the matrix spans more than one page of data. There is plenty of room for the columns of the matrix on the page. I have tried the following, but to no avail:
1) I checked that Page Width (8.5in) >= Body Width (7.20833in) + Left Margin (0) + Right Margin (0)
2) I checked that Page Height (11in) >= Page.TopMargin (0) + Header.Height (2in) + Body.Height (6.60417in) + Footer.Height (0.89583in) + Page.BottomMargin (0)
3) I played around with various margin values, ranging from 0in to 0.5in for the left, right, top and bottom margins.
4) I set all textboxes' CanGrow property to false. This also has the undesirable effect of chopping out the text when it cannot fit, but even so, the blank page problem still occurs.
5) I placed the list and the matrix together in a rectangle with the blank space (to the right of the matrix) outside the rectangle.
The only thing that stops the blank pages from appearing is changing the list grouping expression to =Ceiling(RowNumber(Nothing)/2), i.e. make the matrix start a new "table" every 2 repeated columns (rather than 5). This, however, I do not understand, as there is plenty of space for 3 other columns to their right and it is odd and untidy to just put 2!!
I would greatly appreciate any help in this!
Thanks in advance!
Tim
For anybody who is having a similar problem in SSRS 2008, I found the only way to fix this was to set the property named ConsumeContainerWhitespace on the Report itself to true.
In my case the issue was that the matrix on the page was narrow in design mode with a lot of whitespace to the right. When rendered, the matrix was rendered much wider (due to the data) but the renderer would also include the whitespace, causing the report to be much wider than the actual page.
If you set this property, the extra whitespace does not get rendered.
If I understand you correctly I've solved this problem before. The matrix claims extra white space, the solution I used is as follows:
You need to consume the white space.
[-------page width------]
[matrix][-textbox hack-]
I think you can set the textbox to be invisible
Note: When I attempted this in 2005, it only worked when the invisible textbox spanned the entire line.