2014-01-30 3 views

답변

2

버그 신고 here (Bug 213193)가 있습니다. 불행하게도 당신이이 조만간 해결 될 것으로 예상 할 수있다처럼

Section#setTitleBarBackground

지금 노력하고 있습니다 ... 보이지 않는 - RCP에서 같은 섹션의 배경 그라데이션의 위쪽 색상을 설정합니다.

Section#setTitleBarGradientBackground은 섹션 클래스에서 사용되지 않는 색상 (Section#COLOR_GBG)을 설정합니다.

Section#setTitleBarBorderColor - 효과가 없습니다.

/** 
* Sets the color of the title bar gradient background when TITLE_BAR style 
* is used. This color is used at the height where title controls end 
* (toggle, tool bar). 
* 
* @param color 
*   the title bar gradient background 
*/ 
public void setTitleBarGradientBackground(Color color) { 
    putTitleBarColor(COLOR_GBG, color); 
} 

을하지만 Section#onPaint(PaintEvent e)에서 살펴 경우는 COLOR_GBG의 사용을 찾을 수 없습니다 :

2

코드는 다음과 같은 방식으로 구현되어, Section 소스 코드 쇼를 검사.