Position the dialog
GoogleCodeExporter opened this issue · 4 comments
GoogleCodeExporter commented
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
What dialog? Comment, warning, mutator, or something else?
Original comment by neil.fra...@gmail.com
on 2 Jul 2014 at 6:18
GoogleCodeExporter commented
This dialog contained in the attachment.
Original comment by neerajsk24@gmail.com
on 2 Jul 2014 at 7:09
Attachments:
- [Screenshot from 2014-07-02 12:37:10.png](https://storage.googleapis.com/google-code-attachments/blockly/issue-236/comment-2/Screenshot from 2014-07-02 12:37:10.png)
GoogleCodeExporter commented
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
GoogleCodeExporter commented
thankx alot it worked very well thankx again
Original comment by neerajsk24@gmail.com
on 2 Jul 2014 at 7:18