Commit Graph
68 Commits
Author SHA1 Message Date
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
alfrix 4f959696bd gtk: remove newlines to properly wrap lines if needed
this fixes the issue caused by labels with a newlines detected as 1 line even if it has more than one
2022-09-02 19:58:35 -03:00
alfrix ea5c5afa5e gtk: do not try to ellipsize if the label is None 2022-09-02 19:58:35 -03:00
alfrix 38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix 4124a67450 gtk: fix scrolling stuck on some cases 2022-09-02 19:58:35 -03:00
alfrix d5bc271788 close dialogs on klippy restart 2022-08-01 12:23:40 -03:00
alfrix 6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix e70c9d37e9 layout: fixes for long vertical screens
KS is not optimized for this aspect-ratio, but at least it shouldn't be broken
2022-07-04 16:23:21 -03:00
alfrix 312d131db5 use images for the sort order, drop freefont dependency 2022-07-03 12:03:50 -03:00
alfrix 5a02ac75ae basic support for extruder_stepper 2022-07-03 12:03:50 -03:00
alfrix faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix d3ce521bb0 keyboard: fix size while vertical 2022-07-03 12:03:50 -03:00
alfrix da26bf3143 base_panel: layout simplification 2022-07-03 12:03:50 -03:00
alfrix 54fc0458e0 KlippyGtk: fix style arguments 2022-05-31 11:14:42 -03:00
alfrix 33195f203f Simplify code 2022-05-31 11:14:42 -03:00
alfrix 5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix b70524cd28 Screensaver if dpms is off
This should protect against first touch when the screen is blanked
and help in cases where the driver implementation is not up to spec.
2022-03-29 23:37:59 -03:00
alfrix 50d3671d0f base_panel: simplify sidebar scaling 2022-03-21 07:14:58 -03:00
alfrix 5286e433fe logging: cleanup unnecesary lines 2022-03-21 06:34:02 -03:00
alfrix 5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus b1dd83d955 job_status: rework time calculation
New 'Auto' setting that selects the best guess
added an slicer time compensation if you find that your slicer always under/over estimates by some amount
Split in days if the time is more than 24h
2022-03-10 11:43:53 -03:00
Alfredo Monclus dd027c0583 Vertical mode (#480) 2022-02-24 16:00:51 -03:00
Alfredo Monclus 8dd5c64006 Extrude panel: Support 5 extruders (#441) 2022-01-17 01:13:16 -05:00
Alfredo Monclus 58e0aa74d0 Word Wrap (#395)
* Word-wrap dialogs

* prevent horizontal scrollbar caused by translators

* Fix weird indentation on print name
2022-01-03 12:45:55 -05:00
Alfredo Monclus bfe6321c2f Improve pathing (#368)
* Improve pathing

* Improve Pathing: config.py
2021-12-17 12:39:18 -05:00
Jordan c3103d3b11 Fix graph error and make colors configurable 2021-12-07 21:05:17 -05:00
Jordan 139115a0e9 Updates to graphing.
Modify heaters to show only ones available in the temp store. Add 
ability to hide/show heaters.
2021-12-07 21:05:17 -05:00
Jordan 36aaece846 screen: Put font size setting into KlippyGtk 2021-09-18 16:53:31 -04:00
Jordan 70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Alfredo Monclus 517a6afab8 Dialogs updates (#252)
* Fix cursor on dialogs and make them fullscreen

* Fix date alignment varying with text length
2021-09-07 21:30:21 -04:00