@@ -873,33 +873,42 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
873873
874874 __getAnnotationsSection : function ( ) {
875875 const annotationsSection = new qx . ui . container . Composite ( new qx . ui . layout . VBox ( 10 ) ) ;
876- annotationsSection . add ( new qx . ui . basic . Label ( this . tr ( "Annotations " ) ) . set ( {
876+ annotationsSection . add ( new qx . ui . basic . Label ( this . tr ( "Add to Workbench " ) ) . set ( {
877877 font : "text-14"
878878 } ) ) ;
879879
880- const annotationsButtons = new qx . ui . container . Composite ( new qx . ui . layout . HBox ( 5 ) ) ;
880+ const annotationsButtons = new qx . ui . container . Composite ( new qx . ui . layout . Flow ( 5 , 5 ) ) ;
881881 annotationsSection . add ( annotationsButtons ) ;
882882
883883 const buttonsHeight = 28 ;
884+
885+ const addConversationBtn = new qx . ui . form . Button ( ) . set ( {
886+ label : this . tr ( "Conversation" ) ,
887+ icon : "@FontAwesome5Solid/comment/14" ,
888+ height : buttonsHeight
889+ } ) ;
890+ addConversationBtn . addListener ( "execute" , ( ) => this . __workbenchUI . startConversation ( ) , this ) ;
891+ annotationsButtons . add ( addConversationBtn ) ;
892+
884893 const addNoteBtn = new qx . ui . form . Button ( ) . set ( {
885894 label : this . tr ( "Note" ) ,
886- icon : "@FontAwesome5Solid/plus /14" ,
895+ icon : "@FontAwesome5Solid/sticky-note /14" ,
887896 height : buttonsHeight
888897 } ) ;
889898 addNoteBtn . addListener ( "execute" , ( ) => this . __workbenchUI . startAnnotationsNote ( ) , this ) ;
890899 annotationsButtons . add ( addNoteBtn ) ;
891900
892901 const addRectBtn = new qx . ui . form . Button ( ) . set ( {
893- label : this . tr ( "Rectangle " ) ,
894- icon : "@FontAwesome5Solid/plus /14" ,
902+ label : this . tr ( "Box " ) ,
903+ icon : "@FontAwesome5Regular/square /14" ,
895904 height : buttonsHeight
896905 } ) ;
897906 addRectBtn . addListener ( "execute" , ( ) => this . __workbenchUI . startAnnotationsRect ( ) , this ) ;
898907 annotationsButtons . add ( addRectBtn ) ;
899908
900909 const addTextBtn = new qx . ui . form . Button ( ) . set ( {
901910 label : this . tr ( "Text" ) ,
902- icon : "@FontAwesome5Solid/plus /14" ,
911+ icon : "@FontAwesome5Solid/font /14" ,
903912 height : buttonsHeight
904913 } ) ;
905914 addTextBtn . addListener ( "execute" , ( ) => this . __workbenchUI . startAnnotationsText ( ) , this ) ;
0 commit comments