Before button global styling
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
use crate::dictionary::{split_with_coma};
|
||||
use crate::quiz::Score;
|
||||
use crate::Page::PreviousPage;
|
||||
use crate::{RootMessage, DEFAULT_SPACING};
|
||||
use crate::{NavigatedPage, Page};
|
||||
use crate::{RootMessage};
|
||||
use iced::border::Radius;
|
||||
use iced::widget::container::Style;
|
||||
use iced::widget::{button, container, row, space, text, text_input, Row};
|
||||
@@ -10,6 +8,9 @@ use iced::Background::Color;
|
||||
use iced::{alignment, Border, Element, Fill, Task, Theme};
|
||||
use rand::prelude::SliceRandom;
|
||||
use crate::lang::WordData;
|
||||
use crate::navigation::{NavigatedPage, Page};
|
||||
use crate::navigation::Page::PreviousPage;
|
||||
use crate::styling::*;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct DictionaryQuizState {
|
||||
@@ -84,7 +85,7 @@ impl DictionaryQuizState {
|
||||
} else {
|
||||
String::new()
|
||||
}
|
||||
).size(20).align_y(alignment::Vertical::Center),
|
||||
).size(ACCENT_FONT_SIZE).align_y(alignment::Vertical::Center),
|
||||
]
|
||||
.align_x(alignment::Horizontal::Center)
|
||||
.spacing(5),
|
||||
|
||||
Reference in New Issue
Block a user