MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Left Justification in a button

  • To: mathgroup at
  • Subject: [mg64654] Re: Left Justification in a button
  • From: bghiggins at
  • Date: Sat, 25 Feb 2006 02:53:14 -0500 (EST)
  • References: <dtm76b$hvm$>
  • Sender: owner-wri-mathgroup at


One possibility is to get rid of the ButtonFrame which seems to block
the GridBox option ColumnAlignments. Then you can embellish the gridbox
with a frame and use StyleBox to give it a background color. For

CellPrint[Cell[BoxData[StyleBox[GridBox[{{ButtonBox["this is text",
ButtonFrame -> "None"]}},  ColumnWidths -> 20, ColumnAlignments ->
Left, GridFrame -> True], Background -> GrayLevel[0.9]]], "Text",
FontWeight -> "Bold ", FontFamily -> "Helvetica"]]



  • Prev by Date: autogenerated packages carriage returns and line feeds
  • Next by Date: Re: 3D Graphics suggestions?
  • Previous by thread: Left Justification in a button
  • Next by thread: 3D Graphics suggestions?