futura-py / fluxcalc Goto Github PK
View Code? Open in Web Editor NEWFluxCalc, a calculator with a tiny bit of Fluent design
License: MIT License
FluxCalc, a calculator with a tiny bit of Fluent design
License: MIT License
This Calculation is mathematically correct:
3(5-2)
But FPC would only accept this:
3x(5-2)
More info: Only happens in light mode because the 'pressed' state in light mode is a bit transparent, but the windows was also transparent for the mica effects so it needs to click multiple times before they can be insert into the content. This does not happen in dark mode, because the 'pressed' state in dark mode is not transparent. This was not happens before switching to the sv_ttk because I modified the 'pressed' state. Not sure if you guys facing the same issue, if yes, I will ask rdbende to modify the button to not transparent
This is just a little idea i had: We could add a small easter egg: the application will not say error after a few times of trying, but things like: "Stop dividing by zero!", "Seriously, stop", "STOP IT!!!!!!". And things like that. I thought this will be a cool little secret.
What do you think about that @HuyHung1408 ? I would like to move the calculation part of the program to a different .py file, as it is about to get larger. Only an idea tho, i just want to make the code look good. No problem if you dont want it.
I think the app would look very cool if we would remove the icon from the titlebar. Only an idea tho.
Hey, I found a way of using mica with tkinter without a third party app
You need to use these two pieces of code
https://gist.github.com/Olikonsti/879edbf69b801d8519bf25e804cec0aa
the first one enables the windows immersive dark mode with a dark title bar
https://gist.github.com/Olikonsti/8cbcba376c92831a27bc92ce0bb4dbc7
this code blurs the window
you first run dark_title_bar(window) on your window
and then enable_blur(window)
this needs to happen after changing window.resizable()
I am currently building a library with the sun valley ttk theme, the tkinter blur and extra widgets like scrollframes and entry boxes with ghost text: https://github.com/Olikonsti/MTK
There is no option to backspace. You can't remove single digits in the entry widget. There is option to only clear the widget and you have to type everything back again.
Possible solution:
I have already opened an issue in the win32mica repo. Lets see what happens.
This isn't exactly an issue but, on opening the source code files in VSCode, it shows error on 'import sv_ttk'. The error is ModuleNotFoundError: No module named 'sv_ttk'
. I have also downloaded this repository: https://github.com/rdbende/Sun-Valley-ttk-theme, however it isn't working. Moreover I could not find any other library named sv_ttk. I have the BlurWindow module and there's no error in importing it. So, could you please describe the steps to setup sv-ttk in VSCode project?
In the latest release notes you said that you look for a way to make the Titlebar change color. I dont know a direct solution, but when using the BlurWindow
Module (python -m pip install BlurWindow
) with Dark = True
, the titlebar changes its color to dark. And the window also gets blurred, which looks great on modern apps! I would make a pull request, but i cant get to my PC at the moment.
EDIT: i dont know if this solution also works for the menu bar. You need to check.
I downloaded the v5 (Beta) version and ran it on my Windows 10 laptop and here's how it looks:
The first photo's background is white only, however on taking screenshot, it shows black. The second photo is of dark mode. The third photo is after disabling dark mode, in which also the background is white but in screenshot it is black.
I am running Windows 10 Version 21H1.
Hi Everyone!
I was using application and found one small bug, I thought like it's better to let you guys know! Hope you take it positively ๐
User is currenlty active on chrome window and then changes to application,
When user clicks in the space between buttons, windows focus automatically changes to chrome, and application goes to background.
Regards,
ynvp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.