Package fr.soleil.comete.swt.both

Examples of fr.soleil.comete.swt.both.Label


        parent.setLayout(new GridLayout(5, false));



        // Label
        labelString = new Label(parent, SWT.LEFT);
        labelString.setCometeBackground(CometeColor.PINK);

        GridData labelData = new GridData(150, 25);
        labelData.verticalAlignment = GridData.BEGINNING;
        ((Composite) labelString).setLayoutData(labelData);
View Full Code Here


    private void createTopBar(Composite parent) {
        // GridLayoutFactory.swtDefaults().numColumns(2).applyTo(parent);
        parent.setLayout(new GridLayout(2, false));

        // 1
        itemlabel = new Label(parent, SWT.LEFT);
        itemlabel.setText("Data item: ");
        itemlabel.setLayoutData(new GridData(65, 20));

        // 2
        itemName = new Label(parent, SWT.LEFT);
        itemName.setText("");

        GridData gridData = new GridData(70, 20);
        gridData.horizontalAlignment = GridData.FILL;
        gridData.grabExcessHorizontalSpace = true;
View Full Code Here

TOP

Related Classes of fr.soleil.comete.swt.both.Label

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.