Displaying 5 results from an estimated 5 matches for "marginleft".
2010 Feb 09
1
odfTable: table width and alignment
...ge for a table generated by odfTable. Based on reading odfWeave
documentation (including formattingOut.odt), here is how I manipulate the
styles:
st = getStyleDefs()
# modify the table style
tab = getStyles()$table
st[[tab]]$align = "center" # seems to have no effect
st[[tab]]$marginLeft = "2.0 in" # seems to have no effect
setStyleDefs(st)
My table always ends up fully justified (taking all page width). When I
check Table Format in the output .odf, Alignment is always "Automatic". When
doing Column/Optimal Width on the table, the table shrinks but becomes...
2008 Jul 07
6
MiniMagick, and processing thumbnails...
I have a requirement that can''t be that outrageous....
I want to be able to upload an image, and have multiple thumbnails be
created for each. Then, I want to post process each image (the main
image plus the thumbnails) to add borders. The trick is that the
borders need to be different for each image. I thought I could use
the after_resize handler, but when I try to add a border to
2006 Apr 20
0
Sanity check of my Draggable code
...d) { dragColTo(d.currentDelta()) }
});
}
function dragColTo(delta) {
var x = delta[0];
if(x < 10) { return; }
document.getElementById(''navlinks'').style.width = (x - 8) + ''px'';
document.getElementById(''content'').style.marginLeft = (x + 2) +
''px'';
}
I have three divs across the page:
''navlinks'' is absolutely positioned on the left
''colspacer'' is absolutely position just to the right of navlinks
''content'' has a left margin equivalent to the...
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote:
> I tried to submit the following message to the "fxruby-users"
> message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org
> , but the message did not appear). I conclude I do not know how to
> submit questions to this message board.
You need to be subscribed to the mailing list before you
2007 Sep 29
0
libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...(style.kerning == "true") {
+ format.kerning = true;
+ } else if (style.kerning == "false") {
+ format.kerning = false;
+ } else {
+ format.kerning = parseInt (style.kerning);
+ }
+
+ if (style.leading)
+ format.leading = parseInt (style.leading);
+
+ if (style.marginLeft)
+ format.leftMargin = parseInt (style.marginLeft);
+
+ if (style.letterSpacing)
+ format.letterSpacing = parseInt (style.letterSpacing);
+
+ if (style.marginRight)
+ format.rightMargin = parseInt (style.marginRight);
+
+ if (style.fontSize) {
+ var tmp = parseInt (style.fontSize);
+...