提交 88cbbf08 编写于 作者: S ssadetsky

8218479: JTextPane display issue with GTKLookAndFeel

Reviewed-by: prr, serb
上级 d841737a
......@@ -735,7 +735,8 @@ class GTKStyle extends SynthStyle implements GTKConstants {
region == Region.TOOL_BAR_DRAG_WINDOW ||
region == Region.TOOL_TIP ||
region == Region.TREE ||
region == Region.VIEWPORT) {
region == Region.VIEWPORT ||
region == Region.TEXT_PANE) {
return true;
}
if (!GTKLookAndFeel.is3()) {
......@@ -743,8 +744,7 @@ class GTKStyle extends SynthStyle implements GTKConstants {
region == Region.FORMATTED_TEXT_FIELD ||
region == Region.PASSWORD_FIELD ||
region == Region.SPINNER ||
region == Region.TEXT_FIELD ||
region == Region.TEXT_PANE) {
region == Region.TEXT_FIELD) {
return true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册