|
|
|
@ -32,7 +32,7 @@ public class TemplateThemeListPane<T extends TemplateTheme> extends BasicPane {
|
|
|
|
|
public static final int BLOCK_GAP = IntervalConstants.INTERVAL_L1; |
|
|
|
|
public static final int CONTENT_WIDTH = TemplateThemeBlock.CONTENT_WIDTH * BLOCK_COUNT_ROW_LINE + BLOCK_GAP * (BLOCK_COUNT_ROW_LINE - 1) + 10; |
|
|
|
|
public static final int BLOCK_ROWS_PER_PAGE = 3; |
|
|
|
|
public static final int CONTENT_HEIGHT = TemplateThemeBlock.CONTENT_HEIGHT * BLOCK_ROWS_PER_PAGE + BLOCK_GAP * (BLOCK_ROWS_PER_PAGE + 1); |
|
|
|
|
public static final int CONTENT_HEIGHT = Math.min(527, TemplateThemeBlock.CONTENT_HEIGHT * BLOCK_ROWS_PER_PAGE + BLOCK_GAP * (BLOCK_ROWS_PER_PAGE + 1)); |
|
|
|
|
public static final int ASYNC_FETCH_THEME_THREAD_COUNT = 10; |
|
|
|
|
|
|
|
|
|
private final AsyncThemeFetcher<T> asyncThemeFetcher; |
|
|
|
|