Skip to content

Commit ba955e4

Browse files
committed
scroll bar in secondary column
1 parent 159e989 commit ba955e4

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

services/static-webserver/client/source/class/osparc/desktop/WorkbenchView.js

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -790,24 +790,33 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
790790
this.__studyOptionsPage.getChildControl("button").show();
791791
this.getChildControl("side-panel-right-tabs").setSelection([this.__studyOptionsPage]);
792792

793-
this.__studyOptionsPage.add(new osparc.info.StudyMedium(study), {
793+
const scrollView = new qx.ui.container.Scroll();
794+
const secondaryColumnStudyContent = new qx.ui.container.Composite(new qx.ui.layout.VBox(15)).set({
795+
backgroundColor: "transparent"
796+
});
797+
scrollView.add(secondaryColumnStudyContent);
798+
this.__studyOptionsPage.add(scrollView, {
799+
flex: 1
800+
});
801+
802+
secondaryColumnStudyContent.add(new osparc.info.StudyMedium(study), {
794803
flex: 1
795804
});
796805

797-
this.__studyOptionsPage.add(this.__getSlideshowSection());
806+
secondaryColumnStudyContent.add(this.__getSlideshowSection());
798807

799-
this.__studyOptionsPage.add(this.__getAnnotationsSection());
808+
secondaryColumnStudyContent.add(this.__getAnnotationsSection());
800809

801810
const snaps = this.__getSnapshotsSection();
802811
snaps.exclude();
803812
const isVCDisabled = osparc.utils.DisabledPlugins.isVersionControlDisabled();
804813
snaps.setVisibility(isVCDisabled ? "excluded" : "visible");
805-
this.__studyOptionsPage.add(snaps);
814+
secondaryColumnStudyContent.add(snaps);
806815

807816
const iters = this.__getIterationsSection();
808817
const isMMDisabled = osparc.utils.DisabledPlugins.isMetaModelingDisabled();
809818
snaps.setVisibility(isMMDisabled ? "excluded" : "visible");
810-
this.__studyOptionsPage.add(iters);
819+
secondaryColumnStudyContent.add(iters);
811820
},
812821

813822
__getSlideshowSection: function() {

0 commit comments

Comments
 (0)