jeapostrophe
2017-10-31 13:22:08

@notjack DrDr appears to need a real X server because when I used Xvfb the DrR tests did not pass because the mouse/screen/drawing wasn’t exactly the same as it expected.


abmclin
2017-10-31 16:20:50

with the new 6.11 update, I’m very happy with how fast the program contour feature is now. It’s much useful on my large files now.


leif
2017-10-31 17:29:20

The documentation for snip-editors’s get-inset method says the inset is “how much space is left between the edge of the snip and the border.”


leif
2017-10-31 17:29:25

What border is it referring to?


leif
2017-10-31 17:29:39

I assume its not the editor’s border, as that’s the margin.


leif
2017-10-31 17:29:55

Would it be the edge of the external editor?


leif
2017-10-31 17:32:10

It could also be the snip’s border, but then wouldn’t the edge of the snip and the snip’s border be the same, leading to a value of 0?


leif
2017-10-31 17:48:31

Ohh…I think I get it. The editor’s border is smaller than the snip’s border. So the inset is the distance between the two of them.


leif
2017-10-31 17:48:43

And the margin is the extra space beyond the snip’s border.


leif
2017-10-31 17:48:46

Something like this:


leif
2017-10-31 17:51:35

leif
2017-10-31 17:54:33

Oh jeez, maybe not. THere is also a concept of padding too…. :disappointed:


leif
2017-10-31 17:54:41

@mflatt You might know this stuff.


leif
2017-10-31 17:58:52

ohh..its just the css box model:


leif
2017-10-31 17:58:55

padding = padding


leif
2017-10-31 17:58:58

inset = border


leif
2017-10-31 17:59:02

margin = margin


mflatt
2017-10-31 18:07:09

I think padding and margin are as in CSS, but the border is always drawn with width 1 and doesn’t add to the box’s size. Inset specifies where a border is drawn relative to the box created by padding + margin (and a larger inset value doesn’t mean the box gets bigger, but that the border is drawn further from the edge of the box).


leif
2017-10-31 18:11:54

hmm…interesting. So the border’s position isn’t really connected to the padding and margin per se? If so interesting, thanks. :slightly_smiling_face: