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.

Ip6T8 Problem controlling layout of Manipulate generated GUI

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)?

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange