feat(segmented-button): Selection style and implementation
This commit is contained in:
parent
3454483345
commit
bbac6b9bbf
6 changed files with 68 additions and 16 deletions
|
|
@ -1,6 +1,5 @@
|
|||
/// Copyright 2022 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
mod state;
|
||||
mod style;
|
||||
|
||||
|
|
@ -49,7 +48,7 @@ where
|
|||
pub fn new(state: &'a WidgetState) -> Self {
|
||||
Self {
|
||||
state,
|
||||
height: Length::Units(48),
|
||||
height: Length::Units(32),
|
||||
width: Length::Fill,
|
||||
spacing: 0,
|
||||
style: <Renderer::Theme as StyleSheet>::Style::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue