Comments (6)
CPToolbaritems don’t alternate their icon when pressing label
Invalid.
Take a look at the flickr demo
by Stephan Eggermont
from cappuccino.
CPToolbaritems don’t alternate their icon when pressing label
I’ve looked at the flickr demo, 280slides and at the behavior of the Cocoa toolbar in Pages and other Apple apps.
When you only click on the label of an CPToolbarItem, you don’t see any feedback in the form of the image button going down as if being pressed.
You can even see in the cocotron sources that their implementation of the toolbar behaves exactly the way as in cocoa. (i.e. with the feedback on the image/icon)
So i don’t know why you give me such a short description and redirecting me to the flickr demo. Could you elaborate on this?
(tested under FF and Safari)
by Redmar
from cappuccino.
CPToolbaritems don’t alternate their icon when pressing label
Sorry, clicking on the label doesn’t show the alternate image. It doen’t have anything to do with the target and action though, which should be the same.
by Stephan Eggermont
from cappuccino.
CPToolbaritems don’t alternate their icon when pressing label
It doen’t have anything to do with the target and action though, which should be the same.
It does. Implementation wise. ATM the internals of a toolbaritem are that they contain two duplicate targets and actions but on the outer side, the interface, it only has one target and action.
But by internally using 2 pairs of target/actions you can never capture in the image if the label is pressed because it just fires it’s own target and action.
by Redmar
from cappuccino.
CPToolbaritems don’t alternate their icon when pressing label
Thanks for your bug report.
Do you think you could provide us with sample code that illustrates this bug?
You could upload a sample AppController.j here or more simply paste it on http://gist.github.com and link it here.
It would definitely help to solve it quickly.
by Thomas Balthazar
from cappuccino.
Implemented manual validation for toolbar items and fixed a number of toolbar bugs.
Closed by 8f1e56e.
Closed by 8f1e56e.
Reviewed by me.
from cappuccino.
Related Issues (20)
- Baseline-Alignment of CPTextFields is off a few pixels HOT 4
- Default-Button has wrong colors HOT 14
- Toolbar action-icon does not show HOT 11
- CPDatePicker: separator labels are clipped 1 pixel HOT 4
- CPStepper: lower Y-position is off 1-2 pixels HOT 5
- CPSearchField is not working HOT 9
- Text from buttons in alertboxes is not well centered HOT 7
- Github Issues app is no longer maintained, should be archived HOT 4
- nib2cib fails to convert xibs with target set later than macOS 10.12 HOT 6
- Using `xmldom` with critical security vulnerability HOT 1
- A3 branch vs latest version Didier: setDefaultButton does not give correct background HOT 5
- A3 branch vs latest version Didier: CPButtonBar loads button twice HOT 6
- A3 branch vs latest version Didier: CPPopUpButton does not appear HOT 7
- CPString has not method -(BOOL)containsString:(CPString)aString HOT 1
- CPAlertPanel is not re-themed HOT 5
- ActionsButton pulldown should not have a selection checkmark HOT 3
- CPButtonBar: actions buttons do not give visual feedback when pressed HOT 2
- XcodeCapp build configuration fails with Xcode 15 HOT 2
- Node package missing lib HOT 5
- bootstrap.sh incorrectly parses Java version HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cappuccino.