summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.go4
-rw-r--r--table.proto6
2 files changed, 2 insertions, 8 deletions
diff --git a/common.go b/common.go
index acd0084..e338a54 100644
--- a/common.go
+++ b/common.go
@@ -8,7 +8,3 @@ func (x *Widget) IsButton() bool {
}
return false
}
-
-//func Init() bool {
-// return true
-//}
diff --git a/table.proto b/table.proto
index b06aac5..fb323f3 100644
--- a/table.proto
+++ b/table.proto
@@ -25,7 +25,6 @@ message ColAttr {
DURATION = 4;
BYTES = 5;
}
-
int32 pad = 1;
int32 width = 2;
bool click = 3;
@@ -42,9 +41,8 @@ message Table { // `autogenpb:marshal`
string uuid = 1;
string title = 2;
Widget parent = 3;
- Widget grid = 4;
- repeated AnyCol anyCols = 11;
- int64 height = 12; // the number of rows
+ repeated AnyCol anyCols = 4;
+ Widget grid = 5; // deprecate
}
message Tables { // `autogenpb:marshal`