Scale down status bar items (#3766)

This PR scales down the sizes of items in the status bar.

This brings us more in line with Zed1.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-21 17:42:54 -05:00 committed by GitHub
parent e2c36633ea
commit 3d1e52297e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 48 additions and 18 deletions

View file

@ -1,6 +1,6 @@
use gpui::{div, AnyElement, Element, IntoElement, Render, Subscription, ViewContext};
use gpui::{div, AnyElement, Element, Render, Subscription, ViewContext};
use settings::SettingsStore;
use workspace::{item::ItemHandle, ui::Label, StatusItemView};
use workspace::{item::ItemHandle, ui::prelude::*, StatusItemView};
use crate::{state::Mode, Vim};
@ -61,7 +61,7 @@ impl Render for ModeIndicator {
Mode::VisualLine => "-- VISUAL LINE --",
Mode::VisualBlock => "-- VISUAL BLOCK --",
};
Label::new(text).into_any_element()
Label::new(text).size(LabelSize::Small).into_any_element()
}
}