luddep / lpkit Goto Github PK
View Code? Open in Web Editor NEWA collection of re-usable views, controls & utilities for Cappuccino.
Home Page: http://observerapp.com
License: MIT License
A collection of re-usable views, controls & utilities for Cappuccino.
Home Page: http://observerapp.com
License: MIT License
The LPCrashReporter cancel button doesn't have the resize masks applied to it. If you resize the window the cancel button just floats around.
If LPSlideView is still in the animation phase and you select a different tab, the tab gets selected but the view doesn't slide to the selected content. Instead you have to select the tab again to get to the content. I experienced this at your LPKit Demo page.
steps to reproduce:
In LPKit-Examples add return 0; to the first line of the chart:valueForIndex:set: data source method.
Load in Safari- works fine
Load in Firefox - graphics load but clicking to switch to slide view and other features break.
This does not seem to occur if one of the values is 0! Very strange... (and took me 3 days to figure out ;))
Needs to be replaced with one that's actually good.
Once a LPMultiLineTextField is activated, it continues to consume all key events even when not active.
From what I understand, the method "performKeyEquivalent" should by default return NO and only YES if the key was acted on.
Actually I'm not even sure if it needs to be there at all, I don't notice any difference with it completely removed.
When exiting the field the delegate receives the notification controlTextDidBlur: 2 times.
Not sure what the purpose of the timer thing was but it seems to be the root of the problem.
Removing it fixes the problem.
Commit is here:
http://github.com/BlairDuncan/LPKit/commit/579fee03d820b2c2666fb14a15ee96c01628f9ac
When I run
[switch setOn:YES animated:NO sendAction:NO];
it looks like this:
http://img28.imageshack.us/img28/1817/screenshot20101029at223.png
Then when I klick it, it switches back to normal.
Let users navigate the calendar by using the up, down, left and right arrows on their keyboards.
It would be really nice if the multiline textfield supported placeholder text.
With regard to: http://github.com/280north/issues/issues/#issue/30
The fix is the same for what we did to get selectable text in the CPTextField I believe…
At least for the selection issue…
Scrolling on the other hand might be a little harder, I'll work on that sometime if you don't have a fix. :)
Calling [[LPLocationController sharedLocationController] addObserver:selector:] as the first call to LPLocationController will result in the locationDidChange notification being sent twice. This is due to the fact that the initial value of the hash is not cached before the first timer fires, even though -addObserver:selector: will immediately fire with the hash value. The solution would be to simply cache the current hash value in -init.
If you select all the text in the multiline textfield, hit delete, then click on another textfield (maybe anywhere?) the text you deleted returns to the textfield.
You should be able to specify the position of the min & max values in the draw view.
I'd like to see something percent based, such as, - (void)setMaxValuePosition:0.9 minValue:0.1
Suggestions are welcome!
This makes it match the way CPTextField works where if the text overflows the bounds, the overflow is hidden outside of the view area without scrollbars.
Commit is here.
http://github.com/BlairDuncan/LPKit/commit/253de020ae25f0a3f1449e1999ce399c1cf972b0
The ability to resize the height of a multiline text field according to the content would be very useful and hopefully not too difficult to implement. I believe NSTextView uses sizeToFit for this purpose, but I could be wrong.
Screenshot: http://imgur.com/WzVTN.png
Commit is here.
LPMultilineTextField seems to be eating up enter events.
If you add an LPMultilineTextField to a view and also a CPTextField, the CPTextField will no longer receive enter events.
There should be a method for users to replace the default view that draws the grid.
Fix is here,
http://gist.github.com/548887
(it just adds a switch case at the end of the layoutSubviews method.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.