Skip to content
Snippets Groups Projects
Commit 09e3d756 authored by gpawel's avatar gpawel
Browse files

SP-64 the space between tiles doesn't show in the movie view

SVN: 25233
parent bddf8b6c
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,10 @@ public class LazyImageSeriesFrame extends LayoutContainer ...@@ -72,7 +72,10 @@ public class LazyImageSeriesFrame extends LayoutContainer
int imageHeight) int imageHeight)
{ {
LogicalImageReference images = channelReferences.getBasicImage(); LogicalImageReference images = channelReferences.getBasicImage();
setLayout(new TableLayout(images.getTileColsNum()));
TableLayout tableLayout = new TableLayout(images.getTileColsNum());
tableLayout.setCellSpacing(LogicalImageViewer.TILE_SPACING);
setLayout(tableLayout);
tilesMap = createTilesMap(seriesPointStacks, images); tilesMap = createTilesMap(seriesPointStacks, images);
this.channelReferences = channelReferences; this.channelReferences = channelReferences;
......
...@@ -67,6 +67,8 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.WellLocation; ...@@ -67,6 +67,8 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.WellLocation;
*/ */
public class LogicalImageViewer public class LogicalImageViewer
{ {
static final int TILE_SPACING = 3;
private static final String NO_IMAGES_AVAILABLE_MSG = "No images available"; private static final String NO_IMAGES_AVAILABLE_MSG = "No images available";
private static final int ONE_IMAGE_SIZE_PX = 120; private static final int ONE_IMAGE_SIZE_PX = 120;
...@@ -439,7 +441,7 @@ public class LogicalImageViewer ...@@ -439,7 +441,7 @@ public class LogicalImageViewer
LogicalImageReference images = channelReferences.getBasicImage(); LogicalImageReference images = channelReferences.getBasicImage();
TableLayout layout = new TableLayout(images.getTileColsNum()); TableLayout layout = new TableLayout(images.getTileColsNum());
layout.setCellSpacing(3); layout.setCellSpacing(TILE_SPACING);
LayoutContainer container = LayoutContainer container =
new LayoutContainer(layout); new LayoutContainer(layout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment