use of org.eclipse.draw2d.SchemeBorder in project yamcs-studio by yamcs.
the class ScrollbarFigure method createDefaultThumb.
/**
* Creates the Scrollbar's "thumb", the draggable Figure that indicates the Scrollbar's position.
*/
protected IFigure createDefaultThumb() {
var thumb = new Panel();
thumb.setMinimumSize(new Dimension(6, 6));
thumb.setBackgroundColor(ColorConstants.button);
thumb.setBorder(new SchemeBorder(CSSSchemeBorder.SCHEMES.BUTTON_CONTRAST));
return thumb;
}
Aggregations