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:
parent
e2c36633ea
commit
3d1e52297e
8 changed files with 48 additions and 18 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue