Render arrow icon in ComboBox

This commit is contained in:
Héctor Ramón Jiménez 2020-04-18 19:53:27 +02:00
parent ada8d7c77f
commit e29feef8ba
7 changed files with 51 additions and 22 deletions

View file

@ -22,9 +22,14 @@ pub trait Text {
/// The `char` representing a ✔ icon in the [`ICON_FONT`].
///
/// [`ICON_FONT`]: #associatedconst.ICON_FONt
/// [`ICON_FONT`]: #associatedconst.ICON_FONT
const CHECKMARK_ICON: char;
/// The `char` representing a ▼ icon in the built-in [`ICONS`] font.
///
/// [`ICON_FONT`]: #associatedconst.ICON_FONT
const ARROW_DOWN_ICON: char;
/// Returns the default size of text.
fn default_size(&self) -> u16;