# Remove braces, {}, from around DynamicModule output?

Is there a way to remove the braces from the front end output associated with DynamicModule? For instance:

a=0;
DynamicModule[{x}, {Slider[Dynamic[x]], Dynamic[If[x>.5,a=1;,{}]]}]


This returns a slider with braces around it. Is there a way to avoid or remove the braces?

-
Row@{Slider...? This is what you want? –  Kuba Sep 19 '13 at 5:57
@Kuba: Yes! But can they also be eliminated from the Dynamic[If[...]]? –  user8454 Sep 19 '13 at 6:01
@user8454 does Dynamic[If[x > .5, a = 1;, Spacer[0]]] do what you want? –  Mr.Wizard Sep 19 '13 at 6:02
Yes @Mr.Wizard! Sorry @Kuba! Thanks guys! –  user8454 Sep 19 '13 at 6:03
@Kuba Do you care to post both parts as an answer? –  Mr.Wizard Sep 19 '13 at 6:04

Quick fix to your code would be to add Row and Spacer[0].

a=0;
DynamicModule[{x}, Row@{Slider[Dynamic[x]], Dynamic[If[x>.5,a=1;, Spacer[0]]]}]


Instead of Spacer[0] you can use empty string: "", or Invisible[""].

Those braces are in output because you put them there. To know more about organizing an output, take a look at documentation:

tutorial / Grids Rows and Columns overview

there are also interesting related Q&A-s here on Mathematica.SE, for example:

Why use Column with Rows instead of Grid?

-