tbaranes / adaptivespaceitem Goto Github PK
View Code? Open in Web Editor NEWA NSToolbarItem which will create space to center the next toolbar item
License: MIT License
A NSToolbarItem which will create space to center the next toolbar item
License: MIT License
Currently working in the branch feature/swift3.
Hi,
first, thank you for this useful feature. It works really good.
I noticed a few bug when switching to full screen, it does not center properly. Using NSWindowDelegate.windowDidEnterFullScreen, I was able to re-center it by calling updateWidth(), but the re-centering is not smooth, the user can see the segmented control move from not-the-center to the center.
Any idea on how to achieve a smooth transition when switching to full-screen, like the Calendar app for example?
Many thanks!
moved the file AdaptiveSpaceItem.swift to my project and added a NSToolbaritem and set class AdaptiveSpaceItem but nothing happens and there is an error in the AdaptiveSpaceItem.swift file
self.timer = NSTimer.scheduledTimerWithTimeInterval(0.015, target: self, selector: "handleFadeTo", userInfo: nil, repeats: true)
error says "No method declared with objective c selector 'handleFadeTo'"
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.