New answers tagged inputfield
0
Not sure if 124px as the difference will work in all Operating System, but it certainly seems to work in Windows 7 M8.0.
width1 = 100;
width = Dynamic[(WindowSize /.
Options[SelectedNotebook[], WindowSize])[[1]]];
Grid[{{
InputField["fixed", String,
ImageSize -> {width1, Automatic}],
InputField["dynamic", String,
ImageSize -> ...
5
Perhaps this slightly modified version of your code is closer to what you want. Remember, Ctrl+J, not Enter, to start a new line.
DynamicModule[{data = "some\ndata"},
Column[{
Framed[
Pane[InputField[Dynamic@data, String,
ContinuousAction -> True,
Appearance -> None,
FieldSize -> {Automatic, {1, Infinity}}],
...
3
As I have mentioned in comment the problem is that (1/3)x^3 is not a proper function definition. Applying this to Your starting value will give You, as one can expect:
(* => (1/3)x^3 [.8]*)
Natural way is to use pure function form for it: (1/3)#^3&.
Manipulate[
list2 = NestList[f, .8, 10], {f, (1/3) #^3 &, InputField[_]},
ControlType -> ...
Top 50 recent answers are included
