Remove title from header, fixes #121
This commit is contained in:
parent
7a6e6bfc87
commit
83637bbfd2
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,6 @@ impl App {
|
||||||
};
|
};
|
||||||
|
|
||||||
let window_title = format!("{title} - COSMIC Text Editor");
|
let window_title = format!("{title} - COSMIC Text Editor");
|
||||||
self.set_header_title(title.clone());
|
|
||||||
Command::batch([
|
Command::batch([
|
||||||
self.set_window_title(window_title, self.main_window_id()),
|
self.set_window_title(window_title, self.main_window_id()),
|
||||||
self.update_focus(),
|
self.update_focus(),
|
||||||
|
|
@ -1956,6 +1955,7 @@ impl Application for App {
|
||||||
.button_height(32)
|
.button_height(32)
|
||||||
.button_spacing(space_xxs)
|
.button_spacing(space_xxs)
|
||||||
.close_icon(icon_cache_get("window-close-symbolic", 16))
|
.close_icon(icon_cache_get("window-close-symbolic", 16))
|
||||||
|
//TODO: this causes issues with small window sizes .minimum_button_width(240)
|
||||||
.on_activate(Message::TabActivate)
|
.on_activate(Message::TabActivate)
|
||||||
.on_close(Message::TabClose)
|
.on_close(Message::TabClose)
|
||||||
.width(Length::Shrink),
|
.width(Length::Shrink),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue