RadComboBox:white space appearing at the bottom of the dropdownlist - whitespace

I got a RadComboBox from Telerik, and i populate it with some data from my database.
Let's say i have 10 items of 20pixels high each, that would make the drop down list of 200pixels high. Right now, i force the control to have a max height of 100px, so i should see a scrollbar. When i scroll my box, i got about 100px of white space at the end of my list, making the dropdownlist way to long, about 300 pixels.
These are the relevant properties of my RadComboBox:
<telerik:RadComboBox ... DropDownWidth="280px" MaxHeight="120px" NoWrap="True" />
At the end of the list, i got white space, white lines, equivalent size of the height of the control (120px of white space). I found nothing so far about that. Anyone got a clue?

Related

Tableau cannot horizontally scroll in worksheets

I am using Tableau for data visualization and generating lists that can be exported to Excel.
However, when the amount of columns get too big, I cannot see all my columns in the view (They are there though). The problem is that there doesn't seem to be a horizontal scrollbar. I can scroll vertically through my rows, but I haven't found a way to do this horizontally to look through my columns, the same way you would do at the data source tab.
If anyone could help me to figure out how to achieve this that would be awesome! I am using Tableau Desktop version 2018.3 on a Mac.
Edit: The problem also seems to be on Windows and is not related to the maximum amount of columns or the view mode.
Example image of the described problem
You are not getting scrollbar because you are viewing it on a worksheet. Try putting it on the dashboard and set dashboard size to fixed and increase width to accommodate all columns.
now you will get horizontal scrollbar for sure
thanks
Besides updating the horizontal row/column label limit #Bernardo mentioned here:
You'll need to make sure you've have selected "Standard" from the display option list at the top of the screen. That options prevent Tableau from fitting everything into the height, width or view of your current display.
Tableau shows a horizontal scroll bar for measures, but not for dimensions. When only dimensions are included on either the Columns or Rows shelf, the lower horizontal scroll bar will not display. Dimensions are treated as headers for measure aggregations and do not generate a horizontal scroll bar when they exceed the width of the view.
To change the Table Layout and increase the number of columns and rows in your table, go to:
Analysis > Table Layout > Advanced
Set each of the Maximum values to 16, which is the limit allowed.

How to add patterns or stripes to SSRS data cells instead of a color

IN SSRS:
I can only add Solid color fills to the data cells inside a matrix.
How do I add Stripes or Patterns as background fill instead of a solid color.
Is there a particular color code like '#xxxx' for stripes?
There are certain rows in my report that need to have stripes or patterns as backgrou fill.
Thanks
I have found some methods around this:
1- You can use image gradients to fill text boxes by right-clicking the cell and selecting text box properties. You can use the Fill tab to select a small image or item that has a gradient or pattern and apply it within your cell(s)/report.
2 - Another approach is to use a combination of Font/Color/Bold/Italic/Underline and Boarder colors/weight to achieve your desired result.
3 - Apply a gradient-style scheme to your report by using one or more colors and dynamically changing the hue as you go up or down the report. That way, the top could be darker than the bottom, or vis-versa.
I hope this helps.
Numerous fonts can be used.
Open the Character Map
Select Arial in the Font drop down
Scroll to near the bottom, select the cross character
Hit the Select button a number of times, grab as many characters as the SSRS textbox may require to fill its width
Click copy
In SSRS select the textbox then Ctrl-P to paste
Experiment with font size and font color to get the desired effect
Setting padding to zero may help
Setting row CanGrow to False may help
I find there is a little gap between cells vertically but it is close to perfect for me. There is likely to be a character in Arial or another font that works even better.

How to know if the element is on the screen?

I have a horizontal ListBox with Images, which are pretty big and take 80% of the screen. User scrolls through this ListBox and images change quickly, and I'd like to highlight the image which is actually on the screen. What is the best way to do it?
Personally, I would use the class proposed by AnthonyWJones in this topic:
Restoring exact scroll position of a listbox in Windows Phone 7
The idea remains the same. You'll just change the vertical listbox to horizontal listbox.
Thus, you can recover the exact position of your listbox.

BIRT -line spacing in report design

I wonder how to define the line spacing in a multi-line lable or text item for pdf output. While increasing the line height within a style works fine, decreasing the height to reduce line spacing doesn't seem to work.
Any suggestions on how to reduce the line pitch?
Thanks
Try removing top and bottom padding. I don't know about labels and text items, and maybe it's not the same, but I had a similar problem in a table with 8pt font in the details. It would look fine in HTML, but in PDF the space between the lines would be huge.
A good trick is to set background colors on the item and the surrounding cell and whatever other elements you have and you'll be able to see which element steals the space.
Then tweak the paddings, line height and font size to reduce the extra space as much as possible. Use the 'Advanced' properties panel (or preferably stylesheets), as line height is not available in 'General' for some elements.
I managed to get my table looking great doing this if I removed ALL top and bottom padding (from row, cell and data element), used a row line height of 10pt and a font size of 8pt.
There seems to be a bug that causes the actual text inside the data element to be somehow padded at the top no matter what in PDF. If you color the data element background and then select the text in the report, you'll see that the text is set too low on the element, overflowing a little at the bottom. Thats the reason 8pt font and 8pt line height wouldn't work for me, it would cut off the bottom of the text.

Table Disobeys W3C Box Model, Ie8 Ignores Fixed Table Width !

I'm having hard time with tables and column widths.
Update: I'm using XHTML Strict 1.0.
The page is: http://www.pro-turk.net/try
The first problem I have is, I have a column with a fixed width of 100px and 4px padding, but it disobeys my padding depending on the value. The column width (as the distance between two borders according to W3C Box Model) is 156 px even if padding is 0 or 4. Only the position of the text changes.
According to W3C Box Model ( available at www.pro-turk.net/box_model.png ), borders and paddings aren't included in WIDTH attribute, so why does it render wrongly ?
The second problem is, when you look the page I gave with IE8, the first cell in the second row has 150px fixed width, but ie shows it about 50% of the total table width regardless of what i say.
You're using the default auto table-layout mode. That lets the browser decide fairly arbitrarily how much space to assign to each column, usually depending on the amount of actual content in the cells. In this mode, width is little more than advisory.
If you want the browser to take your column widths seriously you should set table-layout: fixed on the <table> element, and either include <col/> elements with explicit widths, or set widths on the cells in the first row, for the columns you want to be fixed-width. (The other columns will share the remain width equally.) fixed table layout also allows the browser to render faster.
For your page you might be better off with CSS positioning. Certainly for the internal table that seems to exist only to float-left the image. Nested tables are to be avoided.

Resources