Below is an image as captured by a screen-capture app; it faithfully represents what I see in the Mathematica notebook's window (right after re-starting Mathematica, and opening the notebook; magnification = 100%):
Now, this is the same image as captured by the SE uploader (latest version):
To capture the last image, I
- select the cell containing the image;
- click on the
Image
button on the SE Uploader's palette; - click on the
Upload for site
button in the ensuing dialog.
How can the discrepancy be explained?
FWIW, the code that generated the widget shown in the image is this:
Manipulate[
Graphics[{}
, Background -> LightGray
, AspectRatio -> 1.
, ImageSize -> Small
, Frame -> True
, FrameTicks -> {{None, All}, {All, None}}
, FrameTicksStyle -> Directive[FontSize -> fontSize]
, ImagePadding -> {{0, Scaled[scaledRightPadding]}, {Scaled[scaledBottomPadding], 0}}
]
, {{scaledRightPadding, 0.0515}, 0, 0.2, LabeledSlider}
, {{scaledBottomPadding, 0}, 0, 0.2, LabeledSlider}
, {{fontSize, 10}, 1, 60, 1, LabeledSlider}
]
The version of Mathematica I'm using is
10.4.0 for Linux x86 (64-bit) (February 26, 2016)
Scaled[]
value in theImagePadding
setting. Therefore, the problem may be a bug in the way Mathematica handlesScaled[]
values forImagePadding
. (I call this a bug, because there's no reason forScaled
to respond to the width of the notebook's window.) $\endgroup$