|
|
@ -6,7 +6,6 @@ import com.fr.design.designer.EditingState; |
|
|
|
import com.fr.design.event.RemoveListener; |
|
|
|
import com.fr.design.event.RemoveListener; |
|
|
|
import com.fr.design.event.TargetModifiedListener; |
|
|
|
import com.fr.design.event.TargetModifiedListener; |
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
|
|
|
|
import com.fr.design.gui.icontainer.UIModeControlContainer; |
|
|
|
import com.fr.design.gui.icontainer.UIModeControlContainer; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.grid.Grid; |
|
|
|
import com.fr.grid.Grid; |
|
|
@ -84,7 +83,10 @@ public class ReportComponentComposite extends JComponent implements RemoveListen |
|
|
|
value = value > MAX ? MAX : value; |
|
|
|
value = value > MAX ? MAX : value; |
|
|
|
value = value < MIN ? MIN : value; |
|
|
|
value = value < MIN ? MIN : value; |
|
|
|
int resolution = (int) (ScreenResolution.getScreenResolution() * value / HUND); |
|
|
|
int resolution = (int) (ScreenResolution.getScreenResolution() * value / HUND); |
|
|
|
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().setScale(resolution); |
|
|
|
JTemplate<?, ?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
|
|
|
if (template != null) { |
|
|
|
|
|
|
|
template.setScale(resolution); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|