JamesFT / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Position the dialog #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
What dialog?  Comment, warning, mutator, or something else?

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

GoogleCodeExporter commented 9 years ago
This dialog contained in the attachment.

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

Attachments:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
thankx alot it worked very well thankx again

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