mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
apply new fmt version
This commit is contained in:
parent
e4eecb3489
commit
cc7df23f39
94 changed files with 139 additions and 155 deletions
|
|
@ -10,11 +10,11 @@ use navigation::Navigation;
|
|||
use result::Result;
|
||||
|
||||
use gtk::{
|
||||
Align, Box, Orientation, TextIter, TextSearchFlags, TextView,
|
||||
prelude::{
|
||||
BoxExt, ButtonExt, CheckButtonExt, DisplayExt, EditableExt, EntryExt, TextBufferExt,
|
||||
TextViewExt, WidgetExt,
|
||||
},
|
||||
Align, Box, Orientation, TextIter, TextSearchFlags, TextView,
|
||||
};
|
||||
use std::{cell::RefCell, rc::Rc};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use gtk::{
|
||||
prelude::{EditableExt, EntryExt, WidgetExt},
|
||||
Align, Entry, EntryIconPosition,
|
||||
prelude::{EditableExt, EntryExt, WidgetExt},
|
||||
};
|
||||
|
||||
const MARGIN: i32 = 6;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ use model::Model;
|
|||
|
||||
use super::Subject;
|
||||
use gtk::{
|
||||
prelude::{BoxExt, TextBufferExt, TextViewExt},
|
||||
Box, Orientation, TextIter,
|
||||
prelude::{BoxExt, TextBufferExt, TextViewExt},
|
||||
};
|
||||
use std::cell::RefCell;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{prelude::WidgetExt, Align, Button};
|
||||
use gtk::{Align, Button, prelude::WidgetExt};
|
||||
|
||||
pub struct Back {
|
||||
pub button: Button,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{prelude::WidgetExt, Align, Button};
|
||||
use gtk::{Align, Button, prelude::WidgetExt};
|
||||
|
||||
pub struct Forward {
|
||||
pub button: Button,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{prelude::WidgetExt, Label};
|
||||
use gtk::{Label, prelude::WidgetExt};
|
||||
|
||||
const MARGIN: i32 = 3;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{prelude::WidgetExt, Align, Label};
|
||||
use gtk::{Align, Label, prelude::WidgetExt};
|
||||
|
||||
const MARGIN: i32 = 6;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ mod tag;
|
|||
use tag::Tag;
|
||||
|
||||
use gtk::{
|
||||
prelude::{TextBufferExt, TextViewExt},
|
||||
TextView,
|
||||
prelude::{TextBufferExt, TextViewExt},
|
||||
};
|
||||
|
||||
pub struct Subject {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{gdk::RGBA, TextTag};
|
||||
use gtk::{TextTag, gdk::RGBA};
|
||||
|
||||
pub fn new() -> TextTag {
|
||||
TextTag::builder()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use gtk::{gdk::RGBA, TextTag};
|
||||
use gtk::{TextTag, gdk::RGBA};
|
||||
|
||||
pub fn new() -> TextTag {
|
||||
TextTag::builder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue