forked from reya/gpui-native-kit
update
This commit is contained in:
@@ -100,7 +100,7 @@ impl RenderOnce for Toggle {
|
||||
.id(self.id)
|
||||
.justify_center()
|
||||
.h(metrics.control_height)
|
||||
.px(metrics.padding_x * 0.75)
|
||||
.px(metrics.dense_padding_x)
|
||||
.rounded(theme.radius.control)
|
||||
.text_size(metrics.text_size)
|
||||
.text_color(colors.foreground)
|
||||
|
||||
Reference in New Issue
Block a user