mirror of
https://github.com/damus-io/notedeck.git
synced 2024-10-18 11:13:23 +00:00
change side panel width to 64.0
matches figma design Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
parent
fd75e93605
commit
c66cf6a98c
@ -951,7 +951,7 @@ fn render_damus_desktop(ctx: &egui::Context, app: &mut Damus) {
|
||||
|
||||
fn timelines_view(ui: &mut egui::Ui, sizes: Size, app: &mut Damus, columns: usize) {
|
||||
StripBuilder::new(ui)
|
||||
.size(Size::exact(40.0))
|
||||
.size(Size::exact(ui::side_panel::SIDE_PANEL_WIDTH))
|
||||
.sizes(sizes, columns)
|
||||
.clip(true)
|
||||
.horizontal(|mut strip| {
|
||||
|
@ -10,6 +10,8 @@ use crate::{
|
||||
|
||||
use super::{ProfilePic, View};
|
||||
|
||||
pub static SIDE_PANEL_WIDTH: f32 = 64.0;
|
||||
|
||||
pub struct DesktopSidePanel<'a> {
|
||||
app: &'a mut Damus,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user