mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@23725 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
25123fd0a3
commit
a8539cf913
@ -668,8 +668,8 @@ f18_doSetPos(el, comp, pos)
|
||||
f18_applyGrid(pos);
|
||||
$(el).css({ position:"absolute", left:pos.left, top:pos.top });
|
||||
if(!$(el).hasClass("SVGlabel")) {
|
||||
var padding = parseInt($(el).css("padding-left").replace("px",""));
|
||||
$(el).css({ width:pos.width-padding });
|
||||
var elPadding = ($(el).outerWidth()-$(el).width());
|
||||
$(el).css({ width:pos.width-elPadding });
|
||||
}
|
||||
$(comp).css({ position:"absolute",
|
||||
left:pos.left+pos.oLeft, top:pos.top+pos.oTop,
|
||||
|
Loading…
Reference in New Issue
Block a user