mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
change errors.row to errors.list in theme.txt
This commit is contained in:
@@ -106,7 +106,7 @@ public class ErrorTable extends JTable {
|
||||
|
||||
|
||||
protected void updateTheme() {
|
||||
setBackground(Theme.getColor("errors.row.bgcolor"));
|
||||
setBackground(Theme.getColor("errors.list.bgcolor"));
|
||||
getTableHeader().setDefaultRenderer(new GradyHeaderRenderer());
|
||||
setDefaultRenderer(Object.class, new GradyRowRenderer());
|
||||
}
|
||||
@@ -182,11 +182,11 @@ public class ErrorTable extends JTable {
|
||||
Color warningIndicatorColor;
|
||||
|
||||
public GradyRowRenderer() {
|
||||
setFont(Theme.getFont("errors.row.font"));
|
||||
setFont(Theme.getFont("errors.list.font"));
|
||||
setAlignmentX(LEFT_ALIGNMENT);
|
||||
|
||||
textColor = Theme.getColor("errors.row.fgcolor");
|
||||
bgColor = Theme.getColor("errors.row.bgcolor");
|
||||
textColor = Theme.getColor("errors.list.fgcolor");
|
||||
bgColor = Theme.getColor("errors.list.bgcolor");
|
||||
textColorSelected = Theme.getColor("errors.selection.fgcolor");
|
||||
bgColorSelected = Theme.getColor("errors.selection.bgcolor");
|
||||
bgColorError = Theme.getColor("errors.selection.error.bgcolor");
|
||||
|
||||
@@ -167,9 +167,9 @@ editor.column.warning.color = #fed456
|
||||
errors.header.font = processing.sans,plain,12
|
||||
errors.header.bgcolor = #ebebeb
|
||||
errors.header.fgcolor = #484848
|
||||
errors.row.font = processing.sans,plain,12
|
||||
errors.row.fgcolor = #484848
|
||||
errors.row.bgcolor = #ffffff
|
||||
errors.list.font = processing.sans,plain,12
|
||||
errors.list.fgcolor = #484848
|
||||
errors.list.bgcolor = #ffffff
|
||||
errors.selection.fgcolor = #242424
|
||||
errors.selection.bgcolor = #e5e5e5
|
||||
errors.selection.error.bgcolor = #f5e6e6
|
||||
|
||||
1
todo.txt
1
todo.txt
@@ -14,6 +14,7 @@ X add updateTheme() to contrib.ListPanel
|
||||
X right now pulling Theme.getColor() directly
|
||||
X but need to make sure repaint() is called anyway
|
||||
X use errors.row.bgcolor as bgcolor for the error list
|
||||
X change errors.row to errors.list in theme.txt
|
||||
|
||||
contrib
|
||||
X Double-clicking a .pde file also opens an untitled/empty sketch
|
||||
|
||||
Reference in New Issue
Block a user