Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 92013

Summary: DCR - Need SWT.VERTICAL style for CoolBar
Product: [Eclipse Project] Platform Reporter: Dejan Glozic <dejan>
Component: SWTAssignee: Steve Northover <snorthov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: billy.biggs, eclipse.felipe, ed.burnette, lindawat
Version: 3.1   
Target Milestone: 3.2 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
vertical coolbar screenshot none

Description Dejan Glozic CLA 2005-04-19 19:51:25 EDT
There seems to be no way to tell CoolBar to orient itself vertically i.e. the 
drag handle is always rendered as a vertical line/vertical dots.

I wanted to use CoolBar/CoolItem for the intro launch bar so that I can get 
the OS-specific handle rendering but I need to be able to position CoolBar 
vertically when in the LEFT and RIGHT window trim areas. In this orientation, 
CoolItem handle will be rendered horizontally (as horizontal line/dots).
Comment 1 Steve Northover CLA 2005-04-20 08:47:36 EDT
It looks like there might be some support for this in the MSDN.  We can 
investigate this post 3.1.
Comment 2 Felipe Heidrich CLA 2005-04-20 11:52:49 EDT
MSDN provides RBS_VERTICALGRIPPER and CCS_VERT.

Comment 3 Dejan Glozic CLA 2005-04-20 11:56:37 EDT
Since it exists, any change we can get it in 3.1 if it does not involve too 
much work?
Comment 4 Dejan Glozic CLA 2005-04-20 11:57:56 EDT
It would be a noble thing to do - Intro would use native gripper for the 
welcome launch bar and support SWT 'all native' vision :-).
Comment 5 Steve Northover CLA 2005-04-20 12:09:48 EDT
We can investigate but I don't believe we have time to do this for 3.1.
Comment 6 Felipe Heidrich CLA 2005-04-20 12:11:25 EDT
Dejan, I don't want be a wet blanket but it would be a lot of work to be done 
in time for 3.1.
a) In windows Coolbar is the most buggy widget ever
b) In emulated version all dragging, wrapping, resizing, etc code would need 
to be reviewed and rewritten.
Comment 7 Dejan Glozic CLA 2005-04-20 13:16:04 EDT
My condition was that it should not be too much work. It appears it is not the 
case, so let's leave it for after 3.1
Comment 8 Felipe Heidrich CLA 2005-08-10 14:47:15 EDT
fixed in head > 20050810
Comment 9 Ed Burnette CLA 2005-08-10 23:17:03 EDT
Cool! (no pun intended)
Do you have a screenshot I could stick on my web site?
Comment 10 Felipe Heidrich CLA 2005-08-11 11:04:40 EDT
Created attachment 26020 [details]
vertical coolbar screenshot

you can certantly make a better screenshot, here is one from the app i wrote to
test vertical coolbar running on winxp, xp classic theme.