Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I want the freedom to place buttons either on the Left or the Right within Manipulate. I can do so by specifying "ControlPlacement" as Left or Right, but the problem is that that only moves BOTH buttons to the same spot:

Manipulate[{x, y}, {x, 0, 1, ControlPlacement -> Left}, {y, 0, 1, 
ControlPlacement -> Right}, Button["Stuff Related to x"], 
Button["Stuff Related to y"], ControlPlacement -> Right]

I wish I could place the buttons where their relevant controls were - how do I get this flexibility?

share|improve this question
1  
Try ControlPlacement -> {Left, Right}. –  Kuba Aug 21 '13 at 15:07
    
Thanks! That was easy lol –  David Aug 21 '13 at 15:17
    
It's in the "Details" section of ControlPlacement. –  Sjoerd C. de Vries Aug 21 '13 at 20:34
add comment

closed as off-topic by Kuba, belisarius, Sjoerd C. de Vries, m_goldberg, halirutan Aug 22 '13 at 15:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Kuba, belisarius, Sjoerd C. de Vries, m_goldberg, halirutan
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 1 down vote accepted

In the control section of a Manipulate[] you can put whatever you want. One can reconstruct the whole layout in this section :

Manipulate[None,
     {x, 0, 1, None},
     {y, 0, 1, None},
     Row[{
       Column[{Slider[Dynamic[x]], Button["Stuff Related to x"]}],
       Dynamic[{x, y}],
       Column[{Slider[Dynamic[y]], Button["Stuff Related to y"]}]}]]
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.