mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
use default cursor
This commit is contained in:
parent
81a8e32dc2
commit
f9306359c1
2 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
use super::MARGIN;
|
use super::MARGIN;
|
||||||
use gtk::Button;
|
use gtk::{gdk::Cursor, Button};
|
||||||
|
|
||||||
pub fn new() -> Button {
|
pub fn new() -> Button {
|
||||||
Button::builder()
|
Button::builder()
|
||||||
|
.cursor(&Cursor::from_name("default", None).unwrap())
|
||||||
.icon_name("go-previous-symbolic")
|
.icon_name("go-previous-symbolic")
|
||||||
.margin_bottom(MARGIN)
|
.margin_bottom(MARGIN)
|
||||||
.margin_top(MARGIN)
|
.margin_top(MARGIN)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
use super::MARGIN;
|
use super::MARGIN;
|
||||||
use gtk::Button;
|
use gtk::{gdk::Cursor, Button};
|
||||||
|
|
||||||
pub fn new() -> Button {
|
pub fn new() -> Button {
|
||||||
Button::builder()
|
Button::builder()
|
||||||
|
.cursor(&Cursor::from_name("default", None).unwrap())
|
||||||
.icon_name("go-next-symbolic")
|
.icon_name("go-next-symbolic")
|
||||||
.margin_bottom(MARGIN)
|
.margin_bottom(MARGIN)
|
||||||
.margin_top(MARGIN)
|
.margin_top(MARGIN)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue