Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 248578 Details for
Bug 451019
TableWrap layout system for Sections is truncating elements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
WizardPage parent class
WizardPageParentClass.txt (text/plain), 1.05 KB, created by
Leandro Macedo
on 2014-11-11 12:14:05 EST
(
hide
)
Description:
WizardPage parent class
Filename:
MIME Type:
Creator:
Leandro Macedo
Created:
2014-11-11 12:14:05 EST
Size:
1.05 KB
patch
obsolete
>protected void createFormContents( Composite form ) > { > TableWrapLayout formLayout = new TableWrapLayout(); > formLayout.verticalSpacing = 5; > formLayout.horizontalSpacing = 0; > formLayout.numColumns = 1; > formLayout.topMargin = 2; > formLayout.leftMargin = 0; > form.setLayout( formLayout ); > > statusLabel_ = toolkit_.createLabel( form, "", SWT.BOLD | SWT.WRAP ); > > Font initialFont = statusLabel_.getFont(); > FontData[] fontData = initialFont.getFontData(); > for (int i = 0; i < fontData.length; i++) > { > fontData[i].setStyle( SWT.BOLD ); > fontData[i].setHeight( (int) (fontData[i].getHeight() * 1.2) ); > } > Font newFont = new Font(initialFont.getDevice(), fontData); > statusLabel_.setFont(newFont); > statusLabel_.setVisible( false ); > > TableWrapData td = new TableWrapData(); > td.indent = 25; > td.maxWidth = PageDisplayUtilities.getInlineTableWrapMax(); > statusLabel_.setLayoutData( td ); > > form_ = form; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 451019
:
248576
|
248577
| 248578