4
$\begingroup$

When using CreatePalette[], the palette created always shows up on the upper left corner. Is there a way to make it show up at the center of the screen, just like what CreateDialog[] does?

$\endgroup$
2
$\begingroup$

You need to change the preset value of the WindowMargins option to Automatic. Example:

 CreatePalette[Row[PasteButton /@ ToExpression[CharacterRange["a", "z"]]], 
 WindowMargins -> Automatic, WindowTitle -> "Letters"];
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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