Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions crates/bevy_feathers/src/controls/radio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use bevy_scene::prelude::*;
use bevy_text::FontWeight;
use bevy_ui::{
px, AlignItems, BorderRadius, Checked, Display, FlexDirection, InteractionDisabled,
JustifyContent, Node, Pressed, UiRect,
JustifyContent, LayoutConfig, Node, Pressed, UiRect,
};
use bevy_ui_widgets::{ActivateOnPress, RadioButton};

Expand Down Expand Up @@ -99,10 +99,14 @@ impl FeathersRadio {
ThemeBackgroundColor(tokens::RADIO_BG)
Children [(
Node {
width: px(8),
height: px(8),
width: px(12),
height: px(12),
border: px(2),
border_radius: BorderRadius::MAX,
}
LayoutConfig {
use_rounding: false,
}
RadioMark
ThemeBackgroundColor(tokens::RADIO_MARK)
)]),
Expand Down
Loading