mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 16:31:18 +00:00
cargo fmt
This commit is contained in:
parent
4dff6742e9
commit
30796bb919
@ -386,7 +386,12 @@ impl ThemeDef for ClassicTheme {
|
||||
}
|
||||
}
|
||||
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
|
||||
Margin { left: 0.0, top: 4.0, right: 0.0, bottom: 0.0 }
|
||||
Margin {
|
||||
left: 0.0,
|
||||
top: 4.0,
|
||||
right: 0.0,
|
||||
bottom: 0.0,
|
||||
}
|
||||
}
|
||||
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
|
||||
Margin::default()
|
||||
|
@ -383,7 +383,12 @@ impl ThemeDef for DefaultTheme {
|
||||
}
|
||||
}
|
||||
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
|
||||
Margin{ left: 10.0, top: 14.0, right: 10.0, bottom: 10.0 }
|
||||
Margin {
|
||||
left: 10.0,
|
||||
top: 14.0,
|
||||
right: 10.0,
|
||||
bottom: 10.0,
|
||||
}
|
||||
}
|
||||
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
|
||||
Margin::symmetric(0.0, 0.0)
|
||||
|
@ -225,7 +225,7 @@ impl ThemeDef for RoundyTheme {
|
||||
hyperlink_color: Color32::from_rgb(0x55, 0x7a, 0x95), // DONE
|
||||
|
||||
selection: Selection {
|
||||
bg_fill: Color32::WHITE, // DONE
|
||||
bg_fill: Color32::WHITE, // DONE
|
||||
stroke: Stroke::new(1.0, Color32::from_rgb(0x5d, 0x5c, 0x61)), // DONE
|
||||
},
|
||||
|
||||
@ -378,7 +378,12 @@ impl ThemeDef for RoundyTheme {
|
||||
}
|
||||
fn feed_post_inner_indent(_ui: &mut eframe::egui::Ui, _post: &PostProperties) {}
|
||||
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
|
||||
Margin { left: 10.0, right: 10.0, top: 10.0, bottom: 5.0 }
|
||||
Margin {
|
||||
left: 10.0,
|
||||
right: 10.0,
|
||||
top: 10.0,
|
||||
bottom: 5.0,
|
||||
}
|
||||
}
|
||||
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
|
||||
Margin::default()
|
||||
|
Loading…
Reference in New Issue
Block a user