Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastienboisvert/stackviewtableviewtest
Demo program to try to debug a NSStackView in a NSTableView
https://github.com/sebastienboisvert/stackviewtableviewtest
Last synced: about 1 month ago
JSON representation
Demo program to try to debug a NSStackView in a NSTableView
- Host: GitHub
- URL: https://github.com/sebastienboisvert/stackviewtableviewtest
- Owner: sebastienboisvert
- Created: 2015-04-06T16:39:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-08T19:00:03.000Z (over 9 years ago)
- Last Synced: 2023-03-01T04:51:15.014Z (almost 2 years ago)
- Language: Objective-C
- Size: 176 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stackViewTableViewTest
Demo program to try to debug a NSStackView in a NSTableViewThe app has two windows: one with a single stackview only (which has the desired behaviour), and the other with a tableview that contains similar stackviews. Currently, both stackviews are configured exactly the same in IB. My goal is to have the stackviews in the tableview behave the same as the one in the single window.
You’ll see that in the single stackview window the stack will compress the label, and drop the button views as needed; I’ve tried achieving the same behaviour in the tableview version, but the best I ever got was compression (no dropping) of all the views, which isn’t what I want (currently the configuration clips the views as the tableview width shrinks).
Ideally I want the right label to compress and not clip, then the buttons to drop, before the left label starts truncating. The checkbox at left should never drop