Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Label in status bar is cut off in Mars (works in Indigo)
Label in status bar is cut off in Mars (works in Indigo) [message #1734350] Tue, 07 June 2016 11:07
Kristine Jetzke is currently offline Kristine JetzkeFriend
Messages: 8
Registered: May 2016
Junior Member

I'm switching a legacy application from Indigo to Mars using the compatbility layer. We display a label in the status line. This works fine in Indigo. In Mars (and also Neon) the label is cut off.

Indigo: index.php/fa/26094/0/
Mars: index.php/fa/26093/0/

Any ideas on how to fix this?



My extension looks like this:

The contribution class like this:
package test;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.menus.WorkbenchWindowControlContribution;

public class WorkbenchWindowControlContribution1 extends WorkbenchWindowControlContribution {

	public WorkbenchWindowControlContribution1() {

	public WorkbenchWindowControlContribution1(String id) {

	protected Control createControl(Composite parent) {
		Label label = new Label(parent, SWT.NONE);
		return label;


[Updated on: Tue, 07 June 2016 11:09]

Report message to a moderator

Previous Topic:Can't create workspace under neon
Next Topic:Binding of F3->OpenDeclaration gone from Java editor
Goto Forum:

Current Time: Thu Sep 20 12:49:50 GMT 2018

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

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

Back to the top