Added scroll bar to CamServerViewer left tab

This commit is contained in:
2025-12-05 15:21:05 +01:00
parent a5fdc5af59
commit 3c38bee8fa
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@
<Component id="panelControls" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="panelEpicsHandler" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="277" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>

View File

@@ -21,6 +21,7 @@ import ch.psi.pshell.swing.SwingUtils.OptionType;
import ch.psi.pshell.screenpanel.Options;
import ch.psi.pshell.screenpanel.CamServerViewer;
import ch.psi.pshell.utils.Threading;
import java.awt.Color;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.io.IOException;
@@ -87,7 +88,6 @@ public class ScreenPanelSLS extends Panel implements CamServerViewer.CamServerVi
camServerViewer.setShowFit(true);
camServerViewer.setShowProfile(true);
camServerViewer.setShowReticle(true);
camServerViewer.getSidePanel
}
@Override
@@ -621,7 +621,7 @@ public class ScreenPanelSLS extends Panel implements CamServerViewer.CamServerVi
.addComponent(panelControls, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(panelEpicsHandler, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(277, Short.MAX_VALUE))
.addContainerGap())
);
add(customPanel, java.awt.BorderLayout.WEST);