Layout: review r1 fixes
This commit is contained in:
22 files changed
+381
-99
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ func Divider(c *ui.Context, opts DividerOptions) *ui.Element {
|
||||
return e.Children(func() {
|
||||
segment()
|
||||
if opts.Label != "" {
|
||||
ui.Text(c, opts.Label).Font(theme.SerifFont).FontSize(theme.CaptionSize).
|
||||
ui.Text(c, opts.Label).Font(theme.SerifFont).FontSize(FontSize(c, theme.CaptionSize)).
|
||||
TextColor(k.TextMuted).SingleLine().Shrink(0)
|
||||
} else {
|
||||
ui.Box(c).Size(dividerDiamond, dividerDiamond).Shrink(0).Role(ui.RoleNone).
|
||||
|
||||
Reference in new issue
Block a user