ajardon/blockly

Position the dialog

GoogleCodeExporter opened this issue · 4 comments

I want to move my dialog to display it in a particular location. How can I 
specify my desired co-ordinates?

Original issue reported on code.google.com by neerajsk24@gmail.com on 2 Jul 2014 at 5:26

What dialog?  Comment, warning, mutator, or something else?

Original comment by neil.fra...@gmail.com on 2 Jul 2014 at 6:18

This dialog contained in the attachment.

Original comment by neerajsk24@gmail.com on 2 Jul 2014 at 7:09

Attachments:

See the Maze.levelHelp function in maze.js.  It has coordinates for each of 
those dialogs.
      style = {width: '370px', top: '120px'};
      style[Blockly.RTL ? 'right' : 'left'] = '215px';
Note that Arabic and Hebrew users (RTL) need different coordinates, due to the 
writing direction.

Original comment by neil.fra...@gmail.com on 2 Jul 2014 at 7:13

  • Changed state: Invalid
thankx alot it worked very well thankx again

Original comment by neerajsk24@gmail.com on 2 Jul 2014 at 7:18