textboxes initial position issue
This commit is contained in:
parent
597bb7aef4
commit
558b3024f2
|
@ -316,6 +316,8 @@ Canvas.prototype.init = function() {
|
||||||
var elem = $(ui.draggable);
|
var elem = $(ui.draggable);
|
||||||
var top = $(this).position().top;
|
var top = $(this).position().top;
|
||||||
var left = $(this).position().left;
|
var left = $(this).position().left;
|
||||||
|
var height = 150;
|
||||||
|
var width = 150;
|
||||||
if (elem.hasClass('arabic')) {
|
if (elem.hasClass('arabic')) {
|
||||||
var t = new TextBox(c, {'html': '<p class="textbox_canvas_text">انقر على مربع التحرير</p>', 'css': {
|
var t = new TextBox(c, {'html': '<p class="textbox_canvas_text">انقر على مربع التحرير</p>', 'css': {
|
||||||
'direction': 'rtl',
|
'direction': 'rtl',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user