# Problem controlling layout of Manipulate-generated GUI

For example:

Manipulate[
With[{value = a},
Plot[Sin[value x], {x, 0, 10},
ImageSize -> Small,
PlotLegends -> "AllExpressions"]
],
{a, 1, 2},
ControlPlacement -> Left]


Below I show two snapshots of the same GUI, for two different positions of the slider:

I have two (simple?) questions regarding this example:

1. How can I center the slider vertically (while still keeping it to the left of the plot)?

2. How can I keep the width of the GUI fixed, irrespective of the width of the legend's text (while still keeping the legend to the right of the plot)?

• 1. you can put there whatever you want: mathematica.stackexchange.com/q/40752/5478 – Kuba Nov 30 '16 at 15:30
• 2. add ContentSize -> 350 as an option to Manipulate. – corey979 Nov 30 '16 at 15:44
• You might want to consider a VerticalSlider: {a, 1, 2, 0.01, ControlType -> VerticalSlider, Appearance -> "Labeled"} – Bob Hanlon Nov 30 '16 at 17:23

Manipulate[