Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) Build Identifier: I20090611-1540 The widgetStyle method of Scale has a hard coded style of TBS_BOTH. There is no provision to apply addition styles. A suggestion would be to allow SWT.TOP SWT.BOTTOM SWT.LEFT or SWT.RIGHT to be passed to the Scale constructor. An absense of any of these styles would imply the default of TBS_BOTH. therefore not impacting any legacy code. eg: new Scale(parent, SWT.HORIZONTAL | SWT.BOTTOM); Reproducible: Always Steps to Reproduce: 1. Create widget.
SWT version 3.550
Do other platforms offers similar support ? I'm afraid this is available on win32 only.
Does that mean supporting additional platform specific styles is out of the question? There is no functional change in the different styles, the control just renders isself differently.
SWT is a multi platform toolkit, adding a feature that can only be supported on one platform is not very interesting for us. That said, the feature can still be added as a hint. We should check gtk/carbon/cocoa API, maybe it is possible they offer similar support.