Adapts the typeface of the dialog's list items.
162888
private void adaptItemTypeface() {
        if (adapter != null && itemTypeface != null) {
            RecyclerView.Adapter<?> wrappedAdapter = adapter.getWrappedAdapter();

            if (wrappedAdapter instanceof ArrayRecyclerViewAdapter) {
                ((ArrayRecyclerViewAdapter) wrappedAdapter).setItemTypeface(itemTypeface);
            }
        }
    }
1029424
public void updateEditorMode() {

        CmsClientSitemapEntry entry = getSitemapEntry();
        getListItemWidget().setIcon(CmsSitemapView.getInstance().getIconForEntry(entry));
        setAdditionalStyles(entry, getListItemWidget());
        for (Widget child : m_children) {
            if (child instanceof CmsSitemapTreeItem) {
                ((CmsSitemapTreeItem)child).updateEditorMode();
            }
        }
    }
86217
public void setItemTypeface(@NonNull final Typeface typeface) {
        Condition.INSTANCE.ensureNotNull(typeface, "The typeface may not be null");
        this.itemTypeface = typeface;
        notifyDataSetChanged();
    }
1232703
def update_font(self):
        """"""
        font = self.get_plugin_font()
        color_scheme = self.get_color_scheme()
        for editorstack in self.editorstacks:
            editorstack.set_default_font(font, color_scheme)
            completion_size = CONF.get('main', 'completion/size')
            for finfo in editorstack.data:
                comp_widget = finfo.editor.completion_widget
                comp_widget.setup_appearance(completion_size, font)
313095
protected void setShowAllTypes(boolean showAllTypes) {

        m_typeListMode.setValue(showAllTypes ? null : I_CmsLayoutBundle.INSTANCE.galleryDialogCss().typesImportant());
        m_tabHandler.updateSize();
    }
122125
private void adaptText() {
        if (editText != null) {
            editText.setText(text);

            if (text != null) {
                editText.setSelection(text.length());
            }
        }
    }
757259
def adjustMask(self):
        
        if self.currentMode() == XPopupWidget.Mode.Dialog:
            self.clearMask()
            return
        
        path = self.borderPath()
        bitmap = QBitmap(self.width(), self.height())
        bitmap.fill(QColor('white'))
        
        with XPainter(bitmap) as painter:
            painter.setRenderHint(XPainter.Antialiasing)
            pen = QPen(QColor('black'))
            pen.setWidthF(0.75)
            painter.setPen(pen)
            painter.setBrush(QColor('black'))
            painter.drawPath(path)
        
        self.setMask(bitmap)
453540
private void adaptButtonBar() {
        if (buttonBarContainer != null) {
            inflateButtonBar();
            adaptPositiveButton();
            adaptNegativeButton();
            adaptNeutralButton();
            adaptButtonTextColor();
            adaptButtonTypeface();
            adaptButtonBarContainerVisibility();
            adaptButtonBarDividerVisibility();
        }
    }
504
function adaptor(prompt) {
  prompt = { ...prompt }
  switch (prompt.type) {
    case 'confirm':
      prompt.type = 'checkbox'
      prompt.transformType = 'confirm'
      prompt.value = [prompt.value]
      prompt.choices = [
        { label: 'Yes?', value: true }
      ]
      break
    case 'list':
      prompt.type = 'radio'
      prompt.transformType = 'list'
      break
  }
  return prompt
}
257848
void setTextFace(final int face) {
        int style = 0;
        if ((face & QuickDraw.TX_BOLD_MASK) > 0) {
            style |= Font.BOLD;
        }
        if ((face & QuickDraw.TX_ITALIC_MASK) > 0) {
            style |= Font.ITALIC;
        }

        // TODO: Other face options, like underline, shadow, etc...

        graphics.setFont(graphics.getFont().deriveFont(style));
    }
887973
private void applySettings() {
		// reset the container.
		container.reset();

		// create the new collapsible.
		WText component1 = new WText("Here is some text that is collapsible via ajax.");
		WCollapsible collapsible1 = new WCollapsible(component1, "Collapsible",
				(CollapsibleMode) rbCollapsibleSelect.getSelected());
		collapsible1.setCollapsed(cbCollapsed.isSelected());
		collapsible1.setVisible(cbVisible.isSelected());

		if (collapsible1.getMode() == CollapsibleMode.DYNAMIC) {
			component1.setText(component1.getText() + "\u00a0Generated on " + new Date());
		}

		if (drpHeadingLevels.getSelected() != null) {
			collapsible1.setHeadingLevel((HeadingLevel) drpHeadingLevels.getSelected());
		}

		// add the new collapsible to the container.
		container.add(collapsible1);

	}
633155
function dialogResize() {
			resize(null, self.dialog.height()-self.view.tlb.parent().height()-($.browser.msie ? 47 : 32))
		}
531800
def update(self):
        
        font = self.editor.font()
        for decoration in self._decorations:
            try:
                decoration.format.setFont(
                        font, QTextCharFormat.FontPropertiesSpecifiedOnly)
            except (TypeError, AttributeError):  # Qt < 5.3
                decoration.format.setFontFamily(font.family())
                decoration.format.setFontPointSize(font.pointSize())
        self.editor.setExtraSelections(self._decorations)
345108
private void resizeStaticText() {
        double maxWidth = width * 0.28472222;
        double fontSize = height * 0.12631579;

        minValueText.setFont(Fonts.latoRegular(fontSize));
        if (minValueText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(minValueText, maxWidth, fontSize); }
        minValueText.relocate((width * 0.28472222) - minValueText.getLayoutBounds().getWidth(), height * 0.885);

        maxValueText.setFont(Fonts.latoRegular(fontSize));
        if (maxValueText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(maxValueText, maxWidth, fontSize); }
        maxValueText.relocate(width * 0.71527778, height * 0.885);

        maxWidth = width * 0.9;
        titleText.setFont(Fonts.latoRegular(fontSize));
        if (titleText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(titleText, maxWidth, fontSize); }
        titleText.relocate((width - titleText.getLayoutBounds().getWidth()) * 0.5, height * 0.95);
    }
129746
def SearchList(items, message="Select an item:", title='FontParts'):
    
    return dispatcher["SearchList"](items=items, message=message, title=title)
466534
def adjustHeadingPointer(self):
        ''''''
        self.headingText.set_text(str(self.heading))
        self.headingText.set_size(self.fontSize)
1245914
@Override
    public FormMappingOption adjustFormMapping() {
        return new FormMappingOption().filterSimpleTextParameter((parameter, meta) -> {
            return parameter.trim().replace("\r\n", "\n").replace('\r', '\n');
        });
    }