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$
0

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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