Search in sources :

Example 1 with PreferencesDialogBaseResources

use of org.rstudio.core.client.prefs.PreferencesDialogBaseResources in project rstudio by rstudio.

the class ProjectCompilePdfPreferencesPane method addHeader.

private void addHeader(String caption) {
    PreferencesDialogBaseResources baseRes = PreferencesDialogBaseResources.INSTANCE;
    Label pdfCompilationLabel = new Label(caption);
    pdfCompilationLabel.addStyleName(baseRes.styles().headerLabel());
    nudgeRight(pdfCompilationLabel);
    add(pdfCompilationLabel);
}
Also used : Label(com.google.gwt.user.client.ui.Label) PreferencesDialogBaseResources(org.rstudio.core.client.prefs.PreferencesDialogBaseResources)

Aggregations

Label (com.google.gwt.user.client.ui.Label)1 PreferencesDialogBaseResources (org.rstudio.core.client.prefs.PreferencesDialogBaseResources)1