Project

General

Profile

« Previous | Next » 

Revision 20f5abe9

Added by Andreas Kohlbecker almost 4 years ago

ref #7189 resetting remote login dialog to default font sizes

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java
92 92

  
93 93
    private static final String DEFAULT_PASS = "00000"; //$NON-NLS-1$
94 94
    private static final String DEFAULT_USER = "admin"; //$NON-NLS-1$
95
    private static final String UBUNTU = "Ubuntu"; //$NON-NLS-1$
95

  
96 96
	protected Object result;
97 97
    protected Shell shlConnect;
98 98
    private Text txtCdmServerStatus;
......
251 251

  
252 252
        Label lblCdmServer = new Label(cdmServerComposite, SWT.NONE);
253 253
        lblCdmServer.setText(Messages.RemotingLoginDialog_LABEL_CDM_SERVER);
254
        lblCdmServer.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
255 254
        lblCdmServer.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
256 255

  
257 256
        comboCdmServer = new Combo(cdmServerComposite, SWT.READ_ONLY);
......
288 287
        //gd_lblCdmInstance.heightHint = 30;
289 288
        lblCdmInstance.setLayoutData(gd_lblCdmInstance);
290 289
        lblCdmInstance.setText(Messages.RemotingLoginDialog_LABEL_CDM_INSTANCE);
291
        lblCdmInstance.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
292 290

  
293 291
        comboCdmInstance = new Combo(cdmServerComposite, SWT.READ_ONLY);
294 292
        comboCdmInstance.addSelectionListener(new SelectionAdapter() {
......
330 328
        GridData gd_lblLogin = new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1);
331 329
        lblLogin.setLayoutData(gd_lblLogin);
332 330
        lblLogin.setText(Messages.RemotingLoginDialog_LABEL_LOGIN_COLON);
333
        lblLogin.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
334 331

  
335 332
        txtLogin = new Text(loginComposite, SWT.BORDER);
336 333
        GridData gd_txtLogin = new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1);
......
340 337
        lblPassword = new Label(loginComposite, SWT.CENTER);
341 338
        lblPassword.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
342 339
        lblPassword.setText(Messages.RemotingLoginDialog_LABEL_PASSWORD);
343
        lblPassword.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
344 340

  
345 341
        txtPassword = new Text(loginComposite, SWT.BORDER | SWT.PASSWORD);
346 342
        GridData gd_txtPassword = new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1);
......
381 377
        styledTxtMessage = new StyledText(remotingComposite, SWT.NONE);
382 378
        styledTxtMessage.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
383 379
        styledTxtMessage.setForeground(SWTResourceManager.getColor(SWT.COLOR_DARK_RED));
384
        styledTxtMessage.setFont(SWTResourceManager.getFont(UBUNTU, 12, SWT.BOLD));
385 380
        styledTxtMessage.setSelectionBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_SELECTION_TEXT));
386 381
        styledTxtMessage.setSelectionForeground(SWTResourceManager.getColor(SWT.COLOR_DARK_RED));
387 382
        styledTxtMessage.setDoubleClickEnabled(false);
......
417 412
        lblPort = new Label(compAdvanced, SWT.CENTER);
418 413
        lblPort.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
419 414
        lblPort.setText(Messages.RemotingLoginDialog_LABEL_PORT);
420
        lblPort.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
421 415

  
422 416
        txtPort = new Text(compAdvanced, SWT.BORDER);
423 417
        GridData gd_txtPort = new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1);
......
427 421
        lblServerCdmlibVersion = new Label(compAdvanced, SWT.CENTER);
428 422
        lblServerCdmlibVersion.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
429 423
        lblServerCdmlibVersion.setText(Messages.RemotingLoginDialog_LABEL_SERVER_CDMLIB_VERSION);
430
        lblServerCdmlibVersion.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
431 424

  
432 425
        txtServerCdmlibVersion = new Text(compAdvanced, SWT.BORDER);
433 426
        txtServerCdmlibVersion.setEditable(false);
......
446 439
        lblEditorCdmlibVersion = new Label(compAdvanced, SWT.CENTER);
447 440
        lblEditorCdmlibVersion.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
448 441
        lblEditorCdmlibVersion.setText(Messages.RemotingLoginDialog_LABEL_EDITOR_CDMLIB_VERSION);
449
        lblEditorCdmlibVersion.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
450 442

  
451 443
        txtEditorCdmlibVersion = new Text(compAdvanced, SWT.BORDER);
452 444
        txtEditorCdmlibVersion.setEditable(false);
......
456 448
        lblServerSchemaVersion = new Label(compAdvanced, SWT.CENTER);
457 449
        lblServerSchemaVersion.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
458 450
        lblServerSchemaVersion.setText(Messages.RemotingLoginDialog_LABEL_SERVER_CDM_VERSION);
459
        lblServerSchemaVersion.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
460 451

  
461 452
        txtServerSchemaVersion = new Text(compAdvanced, SWT.BORDER);
462 453
        txtServerSchemaVersion.setEditable(false);
......
466 457
        lblEditorCdmVersion = new Label(compAdvanced, SWT.CENTER);
467 458
        lblEditorCdmVersion.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
468 459
        lblEditorCdmVersion.setText(Messages.RemotingLoginDialog_LABEL_EDITOR_CDM_VERSION);
469
        lblEditorCdmVersion.setFont(SWTResourceManager.getFont(UBUNTU, 9, SWT.NORMAL));
470 460

  
471 461
        txtEditorCdmVersion = new Text(compAdvanced, SWT.BORDER);
472 462
        txtEditorCdmVersion.setEditable(false);

Also available in: Unified diff