File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
services/static-webserver/client/source/class/osparc/conversation Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,25 @@ qx.Class.define("osparc.conversation.MessageUI", {
109109 column : isMyMessage ? 0 : 2 ,
110110 } ) ;
111111 break ;
112+ case "edit-options-menu-button" : {
113+ const buttonSize = 22 ;
114+ control = new qx . ui . form . MenuButton ( ) . set ( {
115+ width : buttonSize ,
116+ height : buttonSize ,
117+ allowGrowX : false ,
118+ allowGrowY : false ,
119+ marginTop : 4 ,
120+ alignY : "top" ,
121+ icon : "@FontAwesome5Solid/ellipsis-v/14" ,
122+ focusable : false
123+ } ) ;
124+ this . _add ( control , {
125+ row : 0 ,
126+ column : 3 ,
127+ rowSpan : 2 ,
128+ } ) ;
129+ break ;
130+ }
112131 }
113132
114133 return control || this . base ( arguments , id ) ;
@@ -143,6 +162,10 @@ qx.Class.define("osparc.conversation.MessageUI", {
143162 } ) ;
144163
145164 this . getChildControl ( "spacer" ) ;
165+
166+ if ( this . self ( ) . isMyMessage ( this . __message ) ) {
167+ this . getChildControl ( "edit-options-menu-button" ) ;
168+ }
146169 }
147170 }
148171} ) ;
You can’t perform that action at this time.
0 commit comments