StackView class v1.12 win/osx/linux and 1.331 OSX only

StackView

[i]A modern app needs a clear layout to guide the user to the information he needs and keeps the UI clean
from distracting information. This is even more important the more information you place in your app.

The StackView class, like the name suggests, organizes your UI by storing contents in a small space and unfolds
it if the user wants to. You can easily create your custom content and header with a simple ContainerControl
and you’re ready to go.[/i]

Features:

  • easy to use and to incorporate
  • supports transparency for OSX/Linux (on Window use a solid color or some other magic)
  • supports two layout orientations (horizontal and vertical)
  • supports feedback events to interact with other controls
  • animation support
  • cross platform (tested on OSX 10.10, Win10)



Demo Project:
https://www.dropbox.com/s/7f0tkip85qh7gjf/StackView1_103_demo.zip?dl=0

I think it would be helpful to everyone if you indicated that this is a 40€ commercial product in your announcement. (As most other commercial products do.)

On Linux your demo project is not ok. It shows it ugly and bad formed. The UI is not OK.

Looks interesting and useful.
I may have interest in buying this (although I have no use for it now) but the source should be included.

Could you post some screenshots ?

[quote=271487:@Christoph De Vocht]Looks interesting and useful.
I may have interest in buying this (although I have no use for it now) but the source should be included.[/quote]

The source is of course unencrypted if you purchase it or what did you mean ?

Is there an AutoCollapse Feature, so that only 1 Item can be unfolded at anytime?

BTW: Why don’t you offer it on a real Website?

[quote=271557:@Sascha S]Is there an AutoCollapse Feature, so that only 1 Item can be unfolded at anytime?

BTW: Why don’t you offer it on a real Website?[/quote]

Thanks for your feedback. Seems a good idea and easy to implement for the next release.

As for the website, I don’t have one but I know it’s becoming more important.

Yes, thats what I meant.

Any ETA on release?

I have added the feature requested by Sascha and updated the demo.

[code]What new in version 1.11 ?


  • StackViewItem.expanded will now check the StackViewHeader Enabled status
    if enabled=false no expand/collapse is done
  • added forceAnimationOff as Boolean for StackView.expandAll/collapseAll
  • added new feedback event animationWillBegin(item as StackViewItem)
  • added property StackView.autoCollapse allowing you to have only one item expanded

Update DEMO to 1.11:


  • added another style for the general demo
  • added checkbox for the autoCollapse feature[/code]

https://www.dropbox.com/s/eincn0gi6j1xq9t/StackView1_11_demo.zip?dl=0

[quote=271576:@Christoph De Vocht]Yes, thats what I meant.
Any ETA on release?[/quote]

If you think the class suits your needs and you consider purchasing it, please contact me at: xojoaddons@freenet.de

I will issue a paypal invoice (I need your contact details). Once paid, I will send you the unencrypted project files to given paypal email address.

Time for a website.

[quote=271555:@Rob Egal]Could you post some screenshots ?

The source is of course unencrypted if you purchase it or what did you mean ?[/quote]



Ubuntu 16.10 64bits

[quote=271823:@Jose Navarro]
Ubuntu 16.10 64bits[/quote]

Thanks. Then Linux is not supported.

I have made an OSX only version using a NSScrollView.

[code]What new in version 1.2 ?


  • OSX only release
  • removed ScrollBars and added a NSScrollView
  • showScroller default setting is true
    [/code]

https://www.dropbox.com/s/jrg3c69qw545j4j/StackView_OSX_1_12.zip?dl=0

I don’t have a linux installation but I think I’ve solved it.

[quote=271978:@Rob Egal]What new in version 1.2 ?


  • OSX only release[/quote]

Did I miss something? You ask for $40 for a control and announce it with Win/OS X Support and then suddenly release an OS X only version? :wink:

The latest version makes this one of the best Controls ever made. :slight_smile:
Very useable indeed.

Recommended for everyone for sure.

Hi Sascha.

No of course not. There’s a Mac/Win/Linux version and a seperate OSX version supporting an NSScrollView. I had to separate it.
I am sorry for the confusion.

I have tried to tackle the issue with Linux. I hope this bugfix version will solve it.

[code]What new in version 1.12 ?


  • bugfixing for Linux
    [/code]

https://www.dropbox.com/s/kerl2d64303vm68/StackView1_12_Demo.zip?dl=0

I have to say the addition of NSScrollView is really AWESOME ! This is a control that should be included in Xojo by default. It is a control used in many many OS X apps.
Very nice to see Rob has done an incredible job with this.

Again, every OS X developer should own this control. It is really a must have a for $40 a steal.