Rename ui::stock to ui::stack

This commit is contained in:
Floyd Wang 2024-07-09 16:25:07 +08:00
parent 75e4451764
commit 4d9077fe85
5 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ use gpui::{
use crate::{
disableable::Disableable,
selectable::{Selectable, Selection},
stock::{h_flex, v_flex},
stack::{h_flex, v_flex},
theme::{ActiveTheme, Colorize as _},
IconName,
};

View file

@ -6,7 +6,7 @@ mod icon;
mod scroll;
mod scrollbar;
mod selectable;
mod stock;
mod stack;
mod styled_ext;
mod svg_img;
@ -34,7 +34,7 @@ pub use focusable::FocusableCycle;
pub use selectable::{Selectable, Selection};
pub use icon::*;
pub use stock::*;
pub use stack::*;
pub use svg_img::*;
/// Initialize the UI module.

View file

@ -1,6 +1,6 @@
use crate::{
button::ButtonSize,
stock::h_flex,
stack::h_flex,
theme::{ActiveTheme, Colorize},
Disableable,
};

View file

@ -1,4 +1,4 @@
use crate::stock::h_flex;
use crate::stack::h_flex;
use crate::theme::ActiveTheme;
use gpui::InteractiveElement;
use gpui::{