Révision 3348
TXM/trunk/org.txm.analec.rcp/src/org/txm/annotation/urs/view/PropertyField.java (revision 3348) | ||
---|---|---|
38 | 38 |
this.property = property; |
39 | 39 |
this.view = view; |
40 | 40 |
|
41 |
label = new Label(this, SWT.None);
|
|
41 |
label = new Label(this, SWT.NONE);
|
|
42 | 42 |
label.setText(property); |
43 |
label.setAlignment(SWT.RIGHT); |
|
43 | 44 |
|
44 | 45 |
GridData lData = new GridData(GridData.FILL, GridData.CENTER, false, false); |
45 | 46 |
lData.minimumWidth = 75; |
... | ... | |
63 | 64 |
return; |
64 | 65 |
} |
65 | 66 |
if (!t.getText().equals(view.getAnalecVue().getValeurChamp(view.element, t.getToolTipText()))) { |
66 |
t.setBackground(new Color(t.getDisplay(),255,0,0));
|
|
67 |
t.setBackground(new Color(t.getDisplay(),254, 216, 177));
|
|
67 | 68 |
} else { |
68 | 69 |
t.setBackground(null); |
69 | 70 |
} |
Formats disponibles : Unified diff