Multiple Actors in the same row Table Libgdx - libgdx

Hello I'm using Libgdx And table with scene2d. I'm trying to add a few image buttons to the same row but what I'm getting is that the first image is centered in the middle and other two are pushed to the side , that also ruins my table (spacing)
Is there any method to add multiple Actors to the same row ?

I got around this problem with using multiple tables (Remember things are drawn in order they're added to stage). The problem here was that I had buttons with the size off almost all screen so the elements in table could've only used those cells (One cell was the size of the screen)

Related

Keep boxes well sized and from moving when zooming/resizing html/css

I am trying to keep my boxes from moving when zooming in-out/resizing.
Snippet to my code is here: http://www.bootply.com/qngh4aarVh
I want the three boxes called .col-xs-4 not to move when resizing. I want them to be the same width all up as navigation. I will also later want to make it that when the width is below 480, they appear one under each other, under the carousel.
Thank you for any assistance.
Trying to match something similar to this. http://educationwp.thimpress.com/

Align images dynamically alongside bar graphs in SSRS Charts

My requirement is to display images dynamically next to the bars in SSRS charts. I have been using many ways and was not able to find an apt solution to the problem.
I have used the bar graphs and a tablix to display images next to the bars. I have used an expression in order to repeat the images based on the number of the rows obtained from the dataset.
But the main problem is with the alignment of the images with the bars. Here's a pic.
And when the parameter/selection is changed the alignment of the images with the bars get scrambled.
I need to get the images adjacent to the bars just like the previous image(image1) even if the selection is changed.
Is there any way I can get through this?
Please share a solution.
Thanks.
Sai Chaitanya
IMO your image is meaningless clutter, but anyway ...
I would insert a column into the existing Tablix (left of the current image) and move the chart inside that cell. I would remove both axes, Titles etc so you just get a single bar in each cell.
Then I would insert another column into the existing Tablix (left of the chart) and pic the category label which you have blurred out in your image above.
Finally I would add footer rows to show an image for the X axis scale, and the X Axis title.

AS3 datagrid freeze pane / always show column in scrollable datagrid

Afternoon,
I have a datagrid with some custom renderrers and I'm just curious how I should approach the ability to freeze and always show the left 3 most columns at all times when scrolling left/right.
I thought that I might have to resort to 2 datagrids, side-by-side, the first showing the 3 columns that I want at all times, and the ability to scroll the rest. Only issue then I guess is linking the row selection to select that row in both and to tie the column sorts together...
Or would it be better to try and take columns 4+ and shrink their width to 0 as a person scrolls right, and then increase it back to the max width as they scroll left? Though that would cause funny issues to happen as the content of the datagrid would get smaller and smaller until you were 100% to the right and the scrollbar would disappear...
Any thoughts?
thanks,
jc
Assuming you're using Flex, the datagrid property you're looking for is called lockedColumnCount. If you set lockedColumnCount="3", then the first 3 columns (from the left) of your data grid will always show.

Report items affecting each others positions in SSRS 2008

I'm having trouble with some report items changing other items' positions when they are conditionally hidden.
I've been using Reporting Services 2000 for printing item price labels as PDFs, with the report consisting of a single table with a single cell for each item. The data fields and other items on the label are all placed inside a single rectangle. Because of the very specific layout required, some of the report items overlap in the designer in order to position correctly on the rendered PDF.
This has worked fine for several years, until we upgraded to SSRS 2008 and I had to migrate the report to the new version.
Now, suddenly, when certain items on the report are hidden (by an expression in the Hidden-property), certain other items shift their positions. In some cases, even the containing rectangle is resized.
After quite a bit of googling, I've come to the understanding that SSRS 2008 attempts to maintain the relative spacing between report items, so that if an item to the left of another one changes in size, the item to the right is adjusted accordingly.
Apparently, hiding an item equates to changing its size to zero, and so the item next to it is shifted left to fill the gap.
However, I do not want this behavior, since all items should stay in their predefined positions regardless of others.
So, does anyone know of a way to "fix" report item positions, so that they are not affected by hiding other items?
I've tried placing the items inside separate rectangles so as to group them, in the hope that only items inside the same rectangle can affect each other, but this does not seem to help.
Any ideas would be greatly appreciated.
In the side by side example, you can place the control that may be hidden into a rectangle big enough to hold both; but then put the other control that must stay in a fixed position BEHIND the rectangle (i.e. the parent of this control is the report rather than the rectangle).
If that's not enough, and the hidden and non-hidden items use the same dataset, you could (shudder) use a giant tablix control with a grouping of =1 and the right number of rows and columns to control the layout (because you can insert rectangles inside).
Some other tricks are to set the color/backgroundcolor properties to white (though in some rendering formats you can click and drag to highlight and still read what was there)... alternately you can go so far as to make the contents of controls all expression based, so as not to produce anything if a condition is met, and so it's basically invisible.
Another approach: create rectangles containing the fields you want to hide, then put a WHITE line across the entire bottom (or top) of the rectangle. This keeps the rectangle the same size even if the fields within it are hidden. A rectangle will shrink if the fields within it shrink, but the line spanning the entire rectangle prevents this from happening.
Not sure if this will help anyone else as it's a fairly specific requirement but it solved my variant of the OPs issue so here goes. I was designing an SSRS report to print labels (in my case the Avery 5164) and the users wanted to pick which labels on the sheet they would print because they may have already used one or two labels from a page. Because the positioning of the printed labels is important I needed them to stay in place even if the labels above them on the sheet were hidden. My solution was to create empty rectangles of the same size as the label and lay them directly on top of the existing rectangles. Even if I hide two, three, four, etc... labels, the rest will stay put.
Just draw a Rectangle, and slightly overlay the Objects with the Conditional Hidden expression with the position of your new empty Rectangle. Objects out to the right will be held in place by the Rectangle. No background colors or anything, just a Rectangle. Works vertically like if you have an address block and you want objects underneath the address lines to stay put. Like so...
enter image description here

gaps between charts in Report Builder due to table beneath

This seems more of a SuperUser thing but I didn't see any Report Builder or SSRS tags there. Move if it's in the wrong place, please!
When I create a report in Report Builder 2, I often have charts on top and then a table underneath. The problem I encounter is that some charts get shoved over to the right, seemingly due to the table width. I'll have a few charts snuggly against each other, as I designed them, then the rest in the same row will get pushed over to align with the right side of the table beneath them, leaving a big gap between the charts on the left and the charts on the right.
How can I "disconnect" the table from the charts such that the charts don't care where the table ends, and they just stay pressed against each other with no gaps between them?
It's like this:
[chart][chart] [chart][chart]
[table-----------------]
And I want this:
[chart][chart][chart][chart]
[table-----------------]
I discovered kind of a "cheap" way of fixing this. Just add an extra column to the table and stretch it such that it takes up the remaining width of the charts above. Make the column's background and border colors white or transparent so that it isn't visible.
[chart][chart][chart][chart]
[table----hidden column----]