use default cursor

This commit is contained in:
yggverse 2024-12-15 17:38:41 +02:00
parent 81a8e32dc2
commit f9306359c1
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,9 @@
use super::MARGIN;
use gtk::Button;
use gtk::{gdk::Cursor, Button};
pub fn new() -> Button {
Button::builder()
.cursor(&Cursor::from_name("default", None).unwrap())
.icon_name("go-previous-symbolic")
.margin_bottom(MARGIN)
.margin_top(MARGIN)

View File

@ -1,8 +1,9 @@
use super::MARGIN;
use gtk::Button;
use gtk::{gdk::Cursor, Button};
pub fn new() -> Button {
Button::builder()
.cursor(&Cursor::from_name("default", None).unwrap())
.icon_name("go-next-symbolic")
.margin_bottom(MARGIN)
.margin_top(MARGIN)