Révision 2336

tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/dialog/QueryAssistDialog.java (revision 2336)
55 55
import org.txm.searchengine.cqp.corpus.Property;
56 56
import org.txm.searchengine.cqp.corpus.StructuralUnit;
57 57
import org.txm.searchengine.cqp.corpus.WordProperty;
58
import org.txm.core.messages.TXMCoreMessages;
58 59
import org.txm.rcp.IImageKeys;
59 60
import org.txm.rcp.messages.TXMUIMessages;
60 61
import org.txm.rcp.swt.GLComposite;
......
132 133
	protected void configureShell(Shell newShell) {
133 134
		super.configureShell(newShell);
134 135
		newShell.setText(TXMUIMessages.queryAssistant);
135
		newShell.setMinimumSize(300, 300);
136
		newShell.setMinimumSize(500, 350);
136 137
	}
137 138

  
138 139
	/* (non-Javadoc)
......
156 157
			chercheLabel.setLayoutData(new GridData(GridData.BEGINNING, GridData.FILL, true, false, 2 , 1));
157 158
			chercheLabel.setText(TXMUIMessages.imLookingForColon);
158 159

  
159
			scrollComposite = new ScrolledComposite(mainPanel, SWT.V_SCROLL);
160
			scrollComposite = new ScrolledComposite(mainPanel, SWT.V_SCROLL|SWT.H_SCROLL);
160 161
			scrollComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true, 2, 1));
161 162

  
162 163
			wordcontainer = new Composite(scrollComposite, SWT.NONE);
......
168 169
			scrollComposite.addControlListener(new ControlAdapter() {
169 170
				@Override
170 171
				public void controlResized(ControlEvent e) {
171
					Rectangle r = scrollComposite.getClientArea();
172
					scrollComposite.setMinSize(wordcontainer.computeSize(r.width, SWT.DEFAULT));
172
					//Rectangle r = scrollComposite.getClientArea();
173
					scrollComposite.setMinSize(wordcontainer.computeSize(SWT.DEFAULT, SWT.DEFAULT));
173 174
				}
174 175
			});
175 176

  
......
518 519

  
519 520
			removeButton = new Button(this, SWT.PUSH);
520 521
			removeButton.setImage(IImageKeys.getImage(IImageKeys.ACTION_DELETE));
522
			removeButton.setToolTipText(TXMCoreMessages.common_delete);
521 523
			removeButton.addSelectionListener(new SelectionListener() {
522 524

  
523 525
				@Override
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 2336)
827 827

  
828 828
selectionIsNotACorpusColon = The selected object is not a corpus: 
829 829

  
830
separatedByAtLeast0Word = separated by at least 0 word
830
separatedByAtLeast0Word = may be separated by some words
831 831

  
832
separatedByAtLeast1Word = separated by at least 1 word
832
separatedByAtLeast1Word = separated by some words
833 833

  
834 834
separatorCharacters = Separator characters
835 835

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_fr.properties (revision 2336)
811 811

  
812 812
selectionIsNotACorpusColon = L'objet sélectionné n'est pas un corpus : 
813 813

  
814
separatedByAtLeast0Word = séparé par au moins 0 mot
814
separatedByAtLeast0Word = éventuellement séparé par quelques mots
815 815

  
816
separatedByAtLeast1Word = séparé par au moins 1 mot
816
separatedByAtLeast1Word = séparé par un à plusieurs mots
817 817

  
818 818
separatorCharacters = Caractères séparateurs
819 819

  
......
970 970
warning_popup_editedResultsWillBelostP0                         = Les résultats suivants ont été édités :\n{0}\nLes modifications ne seront pas sauvegardées.\nSouhaitez-vous continuer ?
971 971
warning_popup_theP0HasBeenEditedItsChangesWillBeLost            = Le résultat {0} a été édité. Ses modifications seront perdues. Souhaitez-vous continuer ?
972 972

  
973
withinAContextOf = dans un context de
973
withinAContextOf = dans un contexte de
974 974

  
975 975
withinStructure = limité aux structures
976 976

  

Formats disponibles : Unified diff