Tab Component & Scrollable/Resizable Window

80 views
Skip to first unread message

Jos Yule

unread,
Apr 14, 2011, 9:38:46 PM4/14/11
to MinimalComps
Hello.

Now that the project is hosted on Github, i was thinking of doing a
fork and working on these two components.

Tab Component:

My thoughts for this are for it to work similarly to how the Accordion
component works. The tabs would be Push Buttons/Clickable labels?

Scrollable Window/Resizable Window:

This would take what the current Window does, with clipping, but add 2
scrollbars to allow it to be 'scrolled' left/right and up/down. Also
add a 'thumb' to the lower right, to allow the window's size to
dynamically changed. This would be set via some "resizable" property.



I was hoping for some direction on the "best" way to go forward with
this. Are there any specifics i should keep in mind, wrt overall
project style/design? Do these components even fit into the overall
idea of Minimal Comps?

Anyway, any thoughts would be appreciated. Thanks!

jos

Jos Yule

unread,
Apr 14, 2011, 10:31:55 PM4/14/11
to MinimalComps
Ok, after a brief look at the code, i see that there is already a
ScrollPane, which could be used to use in the "Resizable Window". I
have to ask then, why isn't it being used now?

I don't really want to make lots of sub-classes (Resizable Window),
i'd rather have it built into the one Window class itself. Unless this
has been left out to keep the code even leaner. I need a pointer as to
when it is better to sub-class vs Change the existing classes.

Enjoying looking over the classes and code!

jos
Reply all
Reply to author
Forward
0 new messages