Pane[
Style["text is here", Bold, FontColor -> Darker[Gray, .6],
Background -> Red
],
Alignment -> {Center, Center}
]

How to let the pane have rounded corners?
How to let the pane have rounded corners? |
||||
|
Comments that are answers should be posted as such.
|
|||||||||||
|
Panel? – Mark McClure Mar 2 '12 at 18:23Framed[Pane[ Style["XXXX", FontSize -> 11], ImageMargins -> 1, Alignment -> {Center, Center}], Background -> Pink, RoundingRadius -> 10, FrameStyle -> None]IsImageMargins -> 1there? Is there a way to get the spaces above and below text narrower? – Problemania Mar 2 '12 at 18:46RoundingRadiusand the thirdFramed. Similarly, your question in your comment above can be answered by studying the options ofFramedin the doc page.ImageMargins -> -4andContentPadding -> Falsewill do. Before posting future questions please try to do somewhat more research yourself first. – Sjoerd C. de Vries Mar 2 '12 at 23:05