98 Commits

Author SHA1 Message Date
Alfredo Monclus
036a09a4f0 Revert "kgtk: button avoid extra if"
This reverts commit 1ab8be5304bee29fbab25d8d768f50218ae4256e.
2024-06-12 13:14:38 -03:00
Alfredo Monclus
1ab8be5304 kgtk: button avoid extra if 2024-06-12 13:10:35 -03:00
Alfredo Monclus
f6dca04b5e make the scroll a custom class 2024-06-12 11:22:18 -03:00
Alfredo Monclus
e4dd0c4843 dialogs: reduce margins 2024-06-12 11:22:18 -03:00
Alfredo Monclus
ef81bb4769 layout: various tweaks
increase font-size

job_status improved auto-sized thumb

prioritize data over names in main and temp
2024-06-11 00:51:47 -03:00
Alfredo Monclus
792fcb80c5 fix dialogs sometimes getting larger than desired 2024-06-03 17:24:46 -03:00
Alfredo Monclus
5abfb6f226 screen: theme doesn't need a restart anymore 2024-06-03 08:22:48 -03:00
Alfredo Monclus
a37cb967a1 screen: refactor theme load to allow on the fly switching 2024-06-02 12:36:53 -03:00
Alfredo Monclus
462d134b1e vertical layout: increase font size
the current version of klipperscreen can have little bit more without breaking the ui in my tests
2024-05-24 16:42:25 -03:00
Alfredo Monclus
5eb268b220 main and temp: fix keypad with the new vertical layout 2024-05-24 15:42:14 -03:00
alfrix
032760e118 kgtk: do not log if printer icon missing 2024-04-30 07:26:12 -03:00
alfrix
a18b198bf2 dialogs: add the ability to show dialogs without buttons for fullscreen view (click to close) 2024-04-07 12:26:59 -03:00
alfrix
9d5ab88fd5 kgtk: remove togglebutton (not used) 2024-03-18 09:51:39 -03:00
alfrix
18f8d32aa6 klippygtk: dialog buttons height as variable 2024-01-15 14:42:10 -03:00
alfrix
56858be219 dialog: expand buttons if there are many, safer 2024-01-02 17:01:55 -03:00
alfrix
6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
Alfredo Monclus
1794d8aa24
feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
alfrix
ac33e8574e layout: always set dialogs size (fullscreen does not always work) 2023-10-13 23:33:24 -03:00
alfrix
6f32cdacbe layout: fix issues 2023-10-13 23:24:03 -03:00
alfrix
9d177d2afc job_status and print: revise the size of the thumbnail close #1136 2023-10-07 13:02:05 -03:00
alfrix
ad3255b16a screen: dialogs should call fullscreen too for for use inside DEs 2023-09-16 13:45:44 -03:00
alfrix
e80ef7eff5 dialogs: simplify dialog calls, fix layout issue 2023-08-30 01:21:17 -03:00
alfrix
a2ad8e6ade klippygtk: button find box with find_widget 2023-08-28 15:43:51 -03:00
alfrix
f77e382252 klippyGtk: fixup possible issues with spinner and busy state 2023-08-26 13:05:44 -03:00
alfrix
d5e55f8aad PEP E721 2023-08-21 16:11:56 -03:00
alfrix
51682be329 print and spoolman: fix arrows 2023-08-21 15:09:40 -03:00
Vasilyev81
65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix
90fc3288d7 Use callbacks to disable and enable buttons to improve user feedback
buttons now show a spinner if watiting for callback
2023-08-18 11:48:37 -03:00
alfrix
a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix
a973300d2f klippygtk: scaling tweak for default text size to fit 4 sliders without scrollbars (limits and retraction) 2023-06-21 17:42:32 -03:00
alfrix
3417765223 job_status: fix panel not showing and not updating thumbnails
safeguard against thumbnail corruption or other errors fixes #893
better system to update name and thumbnails fixes #889
2023-03-19 05:55:30 -06:00
alfrix
7120c424d4 gtk: resizability
doesn't rescale the fonts or images
2022-12-11 09:17:18 -03:00
alfrix
ab4d4af7f8 tweak image size of buttons with side labes or no label 2022-12-02 20:59:01 -03:00
alfrix
d0fc1e197d gtk: create a format_label function 2022-11-27 19:38:03 -03:00
alfrix
17cae91708 fix bootloop with python 3.7 fixes #817 2022-11-26 19:01:12 -03:00
alfrix
20346a90dc splash_screen: tweak layout sizes and remove get_allocation that can cause isssues
fixes #813

gtk: fix content_width while vertical returning 0
2022-11-26 15:57:50 -03:00
alfrix
9ec4ed204e rework update_queue fixes an issue that caused to not initialize after updates 2022-11-23 01:11:59 -03:00
alfrix
00bd6ac4db gtk: adjust icon sizes so they are more consistent across font sizes 2022-11-22 16:18:06 -03:00
alfrix
593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix
0b1b2f0e19 dialog removal refactor 2022-11-22 14:55:42 -03:00
alfrix
bdd3e0ba1b Cleanups 2022-11-20 22:41:22 -03:00
alfrix
054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix
9020d0b0ea screen: set_cursor new_for_display 2022-11-18 00:53:53 -03:00
alfrix
32fab0482f gtk: add .png icons support close #733 2022-10-26 22:36:52 -03:00
alfrix
d3281379ee gtk: change scaling of images
This reduces the amount of magic numbers used, some images will scale to bigger sizes, most of the icons and images in vertical mode will be bigger, thumbnails should be bigger in both modes.
2022-10-26 22:36:52 -03:00
alfrix
b9effb5447 screensaver: fix dialogs not hiding 2022-10-26 22:36:52 -03:00
alfrix
1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix
553423e3d8 klippygtk: fix cases where wrap and ellipsize was not applied 2022-09-02 19:58:35 -03:00