lib: Make table width constant
Performance improvement: Tables have constant column count.
5 files changed
+25
-28
beaf1af2
→
222da206
modified bin/commands/inbox/select/ui.rs
@@ -149,7 +149,7 @@ impl<'a: 'static> Widget for BrowsePage<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/issue/select/ui.rs
@@ -154,7 +154,7 @@ impl<'a: 'static> Widget for BrowsePage<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/patch/select/ui.rs
@@ -153,7 +153,7 @@ impl<'a: 'static> Widget for BrowsePage<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/ui/items.rs
@@ -213,8 +213,8 @@ impl NotificationItem {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -294,7 +294,6 @@ impl ToRow for NotificationItem {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -488,8 +487,8 @@ impl IssueItem {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -532,7 +531,6 @@ impl ToRow for IssueItem {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -740,8 +738,8 @@ impl PatchItem {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -782,7 +780,6 @@ impl ToRow for PatchItem {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/ui/widget.rs
@@ -100,8 +100,8 @@ pub trait Widget {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -404,9 +404,9 @@ impl<'a> Column<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -418,9 +418,9 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -436,9 +436,9 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -472,24 +472,24 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -542,9 +542,9 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|