Parameterize avatar_margin and assign it a default of 8

This commit is contained in:
Antonio Scandurra 2022-05-03 18:04:53 +02:00
parent c268099554
commit 3ee4d90c19
11 changed files with 11 additions and 1 deletions

View file

@ -53,6 +53,7 @@ pub struct Titlebar {
pub height: f32,
pub title: TextStyle,
pub avatar_width: f32,
pub avatar_margin: f32,
pub avatar_ribbon: AvatarRibbon,
pub offline_icon: OfflineIcon,
pub share_icon: Interactive<ShareIcon>,