|
|
@ -2,6 +2,7 @@ package com.fr.design.mainframe.theme.edit.chart; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.FRContext; |
|
|
|
import com.fr.base.FRContext; |
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
import com.fr.design.event.UIObserverListener; |
|
|
|
import com.fr.design.event.UIObserverListener; |
|
|
@ -83,7 +84,7 @@ public class ChartFontPane extends BasicPane { |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double[] rows = {p, p, p}; |
|
|
|
double[] rows = {p, p, p}; |
|
|
|
double[] columnSize = {labelWidth, totalWidth}; |
|
|
|
double[] columnSize = {labelWidth, totalWidth}; |
|
|
|
UILabel text = new UILabel(getUILabelText(), SwingConstants.LEFT); |
|
|
|
UILabel text = new UILabel(getUILabelText(), BidiUtils.rtl() ? SwingConstants.RIGHT : SwingConstants.LEFT); |
|
|
|
Component[][] components = { |
|
|
|
Component[][] components = { |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{text, fontNameComboBox}, |
|
|
|
new Component[]{text, fontNameComboBox}, |
|
|
|