README.md in whirled_peas-0.7.0 vs README.md in whirled_peas-0.7.1
- old
+ new
@@ -529,10 +529,12 @@
- `set_scrollbar(horiz:, vert:)` - set both scrollbar settings
- `scrollbar.horiz=(flag)` - show/hide the horizontal scrollbar
- `scrollbar.vert=(flag)` - show/hide the vertical scrollbar
+Note: there is a know bug with scrollbars and `center`/`right` alignments. Using `left` alignment is the supported workaround
+
##### Border
The border settings consist of 6 boolean values (border are either width 1 or not shown), the 4 obvious values (`left`, `top`, `right`, and `bottom`) along with 2 other values for inner borders (`inner_horiz` and `inner_vert`) in a grid. A border also has a foreground color (defaults to `:white`) and a style. The background color is determined by the `bg_color` of the element. Border values can be set with
- `set_border(left:, top:, right:, bottom:, inner_horiz:, inner_vert:, color:, style:)` - set any combination of border settings
@@ -541,11 +543,11 @@
- `border.top=(flag)` - show/hide top border
- `border.right=(flag)` - show/hide right border
- `border.bottom=(flag)` - show/hide bottom border
- `border.inner_horiz=(flag)` - show/hide inner horizontal border (dividing grid rows)
- `border.inner_vert=(flag)` - show/hide inner vertical border (dividing grid columns)
-- `border.color=(flag)` - set the border color
-- `border.style=(flag)` - set the border style
+- `border.color=(text_color)` - set the border color
+- `border.style=(style)` - set the border style
Available border styles are
- `:bold` (default)