From 240bbec391ac1db5a43c07c039cff7b753d01f3a Mon Sep 17 00:00:00 2001 From: thepunkoff Date: Mon, 24 Aug 2026 21:22:38 +0400 Subject: [PATCH] fix panel layout --- pomodoro/panel.luau | 16 ++++++++++------ pomodoro/plugin.toml | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pomodoro/panel.luau b/pomodoro/panel.luau index 39247594..7ea63b88 100644 --- a/pomodoro/panel.luau +++ b/pomodoro/panel.luau @@ -102,13 +102,14 @@ local function render(state, sessionData) -- buttons ui.column({ gap = 8 }, { - ui.row({ gap = 8, justify = "space_between" }, { + ui.row({ gap = 8 }, { ui.button({ variant = "primary", text = startButtonText, glyph = startButtonGlyph, onClick = "onStartButtonClick", - flexGrow = 1, + width = 157, + height = 35 }), ui.button({ @@ -116,17 +117,19 @@ local function render(state, sessionData) glyph = "player-skip-forward", onClick = "onSkipButtonClick", enabled = skipButtonEnabled, - flexGrow = 1, + width = 157, + height = 35 }), }), - ui.row({ gap = 8, justify = "space_between" }, { + ui.row({ gap = 8 }, { ui.button({ text = noctalia.tr("button.reset"), glyph = "refresh", onClick = "onResetButtonClick", enabled = resetButtonEnabled, - flexGrow = 1, + width = 157, + height = 35 }), ui.button({ @@ -134,7 +137,8 @@ local function render(state, sessionData) glyph = "rotate", onClick = "onResetAllButtonClick", enabled = resetAllButtonEnabled, - flexGrow = 1, + width = 157, + height = 35 }), }), }), diff --git a/pomodoro/plugin.toml b/pomodoro/plugin.toml index ba2c7eac..a209266e 100644 --- a/pomodoro/plugin.toml +++ b/pomodoro/plugin.toml @@ -1,6 +1,6 @@ id = "thepunkoff/pomodoro" name = "Pomodoro Timer" -version = "1.2.0" +version = "1.2.1" plugin_api = 20 author = "thepunkoff" license = "MIT"