forked from codenameone/CodenameOne
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update from CN1 #25
Merged
Merged
Update from CN1 #25
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I added a link to a blog article of Steve that clarify the externalizable interface in a way deeper than the Javadoc.
I added a link to a blog article that explains the ComponentSelector in a way deeper and clearer than the Javadoc.
…ing more flexible. Calling setPreferredW() will now cause the preferred height to be calculated accordingly, and vice versa. Previously setting preferred width or height would result in the orthogonal dimension being calculated based on the full-size image.
…will be called even if the text area was not currently editing. Added support for tabbing to previous field from textfields in JavaSE port.
…hat support addActionListener/removeActionListener methods. This makes it much easier to bind event listeners to components in a more generic way.
…to use the new ActionSource interface.
…s replacing rather than its own font style, if it is available. This fixes issue reported https://stackoverflow.com/questions/60125358/loadingtextanimation-requirements-to-work
…a ListProperty Fix #3025, fetchAsProperties throws an exception if the PBO contains a ListProperty
Added some more nuance to layout of children inside scrollable containers with the constrainWidthWhenScrollable() and constrainHeightWhenScrollable() methods. Moved DataChangeListener and DoneListener support into TextArea from TextField so that these are available for multi-line fields. Changed behaviour of JavaSE multiline text areas when a done listener is assigned to the TextArea. Enter will now fire done event. Shift-enter will do what enter used to do - add a newline.
…orted. Added support for explicit placement of the tracking arrow for roundrectborder.
`SpanMultiButton` was missing: I needed it, so I created it. I used your `MultiButton` implementation as base. The javadoc contains a code example as test case and two images of the Simulator. The gist that I used in the Javadoc and the images are here: https://gist.github.com/jsfan3/83586d7b6db9b66772d02d25898f1bad
Useful for dynamic UI
Replaced `SpanLabel` with `TextArea`
…ect border. Previously all stroke settings were converted into pixels, which is problematic for design tools and CSS compiler that need to set stroke in millimeters.
… when they change. This is useful for URLImages that may need to notify consumers when the image data is finished loading. Also added 'pending' cache in URL image so that createToStorage() and createToFileSystem() will internally store a reference to the URLImage until it is finished loading. This way if the same image is requested multiple times, it will return a single URL image, rather than createing separately and loading the same image multiple times.
…ts weren't being delivered properly to lead components when inside the toolbar. This fixes the event routing in such cases to match the normal event routing. Fixed long press event support in SpanButton by adding long press listeners directly to the lead component.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.