Skip to content

Commit 5a2ab8f

Browse files
author
jossonsmith
committed
Fixed bug that text of tree item is 0px-font-size
1 parent 0c52317 commit 5a2ab8f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

sources/net.sf.j2s.java.org.eclipse.swt.laf/gtk2-default/org/eclipse/swt/widgets/Table.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ table, tr, td {
1919
.table-item-default {
2020
cursor:default;
2121
white-space:nowrap;
22+
font-size:9pt;
23+
font-family:Arial,sans-serif;
2224
}
2325
.table-item-selected {
2426
background-color:#58D;

sources/net.sf.j2s.java.org.eclipse.swt.laf/gtk2-default/org/eclipse/swt/widgets/Tree.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/*background-color:#DDDccc;*/
33
/*height:20px;*/
44
white-space:nowrap;
5+
font-size:9pt;
6+
font-family:Arial,sans-serif;
57
}
68
.tree-default {
79
background-color:white;

sources/net.sf.j2s.java.org.eclipse.swt.laf/win32-default/org/eclipse/swt/widgets/Table.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ table, tr, td {
1919
.table-item-default {
2020
cursor:default;
2121
white-space:nowrap;
22+
font-size:9pt;
23+
font-family:Arial,sans-serif;
2224
}
2325
.table-item-selected {
2426
background-color:#00008e;

sources/net.sf.j2s.java.org.eclipse.swt.laf/win32-default/org/eclipse/swt/widgets/Tree.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/*background-color:#cccccc;*/
33
/*height:20px;*/
44
white-space:nowrap;
5+
font-size:9pt;
6+
font-family:Arial,sans-serif;
57
}
68
.tree-default {
79
background-color:white;

0 commit comments

Comments
 (0)