mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: require params
attribute to use struct as keyword arguments in function (#11135)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
module gx
|
||||
|
||||
// TODO: remove these and uae the enum everywhere
|
||||
// TODO: remove these, and use the enum everywhere
|
||||
pub const (
|
||||
align_left = HorizontalAlign.left
|
||||
align_right = HorizontalAlign.right
|
||||
)
|
||||
|
||||
[params]
|
||||
pub struct TextCfg {
|
||||
pub:
|
||||
color Color = black
|
||||
|
Reference in New Issue
Block a user