Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextArea (multiline, row count, and label alignment) #202

Open
ghost opened this issue Jun 12, 2020 · 1 comment
Open

TextArea (multiline, row count, and label alignment) #202

ghost opened this issue Jun 12, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 12, 2020

It is possible to create multi-line fields, for example:

final StringProperty rScript = new SimpleStringProperty( getRScript() );

final Setting<StringField, StringProperty> scriptSetting =
  Setting.of( "Script", rScript );
final StringField field = scriptSetting.getElement();
field.multiline( true );

This produces:

preferences

Questions:

  • Can the input field be multi-line without requiring an unchecked assignment?
  • How can the default row count (5) be changed?
  • What setting top-aligns the label with the text area?

If these are not possible, then please regard this issue as a feature request.

Thank you!

@ghost ghost changed the title StringProperty as TextArea StringProperty TextArea Settings (multiline, row count, and label alignment) Jun 12, 2020
@ghost ghost changed the title StringProperty TextArea Settings (multiline, row count, and label alignment) StringProperty TextArea (multiline, row count, and label alignment) Jun 12, 2020
@ghost ghost changed the title StringProperty TextArea (multiline, row count, and label alignment) TextArea (multiline, row count, and label alignment) Jun 12, 2020
@qq1053831109
Copy link

how can set titlebar to dark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant