mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: apply reduced item spacing to all elements of bottom bar
This commit is contained in:
parent
05bc98aa5f
commit
504afbfc2a
1 changed files with 1 additions and 1 deletions
|
@ -46,12 +46,12 @@ impl crate::app::App {
|
||||||
let height = self.size.y / 22.0;
|
let height = self.size.y / 22.0;
|
||||||
// let width = self.size.x;
|
// let width = self.size.x;
|
||||||
ui.style_mut().override_text_style = Some(Name("Bottom".into()));
|
ui.style_mut().override_text_style = Some(Name("Bottom".into()));
|
||||||
|
ui.spacing_mut().item_spacing = ui.spacing().item_spacing / 2.0;
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
ui.group(|ui| {
|
ui.group(|ui| {
|
||||||
let size = vec2(0.0, height);
|
let size = vec2(0.0, height);
|
||||||
// [Gupax Version]
|
// [Gupax Version]
|
||||||
// Is yellow if the user updated and should (but isn't required to) restart.
|
// Is yellow if the user updated and should (but isn't required to) restart.
|
||||||
ui.spacing_mut().item_spacing = ui.spacing().item_spacing / 2.0;
|
|
||||||
match *lock!(self.restart) {
|
match *lock!(self.restart) {
|
||||||
Restart::Yes => ui
|
Restart::Yes => ui
|
||||||
.add_sized(
|
.add_sized(
|
||||||
|
|
Loading…
Reference in a new issue