Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » OS X Mavericks: Vertical Scale renders wrong
OS X Mavericks: Vertical Scale renders wrong [message #1181021] Mon, 11 November 2013 10:09 Go to next message
Marko Topolnik is currently offline Marko TopolnikFriend
Messages: 42
Registered: July 2009
Ever since upgrading to OS X Mavericks, my code which previously worked as expected, stopped doing so. I have a Scale widget with the SWT.Vertical style and it renders as a horizontal scale crammed into the bounds destined for a vertical scale. This is the code:

  public static void main(String[] args) {
    final Display d = Display.getDefault();
    final Shell top = new Shell(d);
    top.setLayout(new RowLayout());
    new Scale(top, SWT.VERTICAL);
    while (!top.isDisposed()) if (!d.readAndDispatch()) d.sleep();

and the attached PNG shows how it renders.

I use Kepler SR1 (build id: 20130919-0819). The specific version of SWT (cocoa.macosx.x86_64) is 3.102.1.v20130827-2048.

[Updated on: Mon, 11 November 2013 11:45]

Report message to a moderator

Re: OS X Mavericks: Vertical Scale renders wrong [message #1208983 is a reply to message #1181021] Mon, 25 November 2013 09:23 Go to previous message
Sergey Vasilyev is currently offline Sergey VasilyevFriend
Messages: 1
Registered: November 2013
Junior Member
We have the analogous problem in our application and we reported a new bug
Previous Topic:Window containing JPG image does not draw correctly.
Next Topic:Create a button on viewer
Goto Forum:

Current Time: Wed May 23 13:14:22 GMT 2018

Powered by FUDForum. Page generated in 0.02026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top