Message Boards Message Boards

0
|
4472 Views
|
5 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Changing the size of Manipulate InputField?

How do I alter the proportions of this image? The biggest problem is that the input field is too small compared to the image. Thanks in advance for any suggestions.

POSTED BY: Jay Gourley
5 Replies

Actually, each Option that can be given to the ControlType selected can be used as an Option in the normal manipulate syntax. So no extra wrappers are needed.

Manipulate[p,
 {{p, {1, 2, 3}, Style["point",Bold,Large]}, ControlType -> InputField, 
  FieldSize -> {10, 5}, BaseStyle -> 20}]

enter image description here

POSTED BY: Martijn Froeling

The answers just keep getting better and better. Thanks, Martijn Froeling. And thanks for adding the part about the fieldsize. That also needed to be corrected.

POSTED BY: Jay Gourley
Posted 2 years ago

Here is an alternative, using Style:

enter image description here

POSTED BY: Hans Milton

Thanks, Hans Milton for the two suggestions. You're a great help.

POSTED BY: Jay Gourley
Posted 2 years ago

You could wrap the control in Item, and then use the option BaseStyle

POSTED BY: Hans Milton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract