0

I am making a unit palette for myself in Mathematica 11.3, and am planning on making a column of togglers for the sections.

Toggler[
  Text[Style["Physics Constants", 24, Italic]],
  {Text[Style["Physics Constants", 24, Italic]], 
   Column[{Text[Style["Physics Constants", 24, Italic]], physgrid}]}
]

Where physgrid is just a 4x4 grid of buttons. When I run this code, there is a huge margin around the first state, which I don't want.

Essentially, I want to make an OpenerView, without the little triangle icon. So, if that could be made instead, that would also suffice.

MarcoB
  • 67,153
  • 18
  • 91
  • 189
Brandon Myers
  • 487
  • 3
  • 8
  • Perhaps adding an image of what you see, as well as a definition of physgrid, could help others troubleshoot your problem. – MarcoB Mar 28 '18 at 18:36
  • You probably want to add the option ImageSize->Automatic to your Toggler. – Carl Woll Mar 28 '18 at 19:10
  • @MarcoB I have physgrid defined up about 3 levels before it gets to something built-in to mathematica, and on a white background, it isn't easy to see what I'm talking about. – Brandon Myers Mar 29 '18 at 19:39
  • @CarlWoll That worked, though I could have sworn previously it wasn't. Thank you – Brandon Myers Mar 29 '18 at 20:09

0 Answers0