视图选项
TwoColumnView = new ZLBooleanOption("Options", "TwoColumnView", x * x + y * y >= 42 * dpi * dpi);
LeftMargin = new ZLIntegerRangeOption("Options", "LeftMargin", 0, 100, horMargin);
RightMargin = new ZLIntegerRangeOption("Options", "RightMargin", 0, 100, horMargin);
TopMargin = new ZLIntegerRangeOption("Options", "TopMargin", 0, 100, 66);
BottomMargin = new ZLIntegerRangeOption("Options", "BottomMargin", 0, 100, 66);
SpaceBetweenColumns = new ZLIntegerRangeOption("Options", "SpaceBetweenColumns", 0, 300, 3 * horMargin);
ScrollbarType = new ZLIntegerRangeOption("Options", "ScrollbarType", 0, 4, FBView.SCROLLBAR_SHOW_AS_FOOTER);
FooterHeight = new ZLIntegerRangeOption("Options", "FooterHeight", 8, dpi / 8, dpi / 10);
ColorProfileName = new ZLStringOption("Options", "ColorProfile", ColorProfile.DAY);
ColorProfileName.setSpecialName("colorProfile");int getTextAreaHeight() {
return getContextHeight() - getTopMargin() - getBottomMargin();
}Last updated
Was this helpful?