New ProDark Theme with 4k small text Mod

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: New ProDark Theme with 4k small text Mod

Post by Kunda1 »

Note: Best way to test this it's good to make sure one is using the most up to date version of the ProDark stylesheet.
1. open a terminal
2. cd ~/.FreeCAD/Gui/Stylesheet || mkdir ~/.FreeCAD/Gui/Stylesheet && cd ~/.FreeCAD/Gui/Stylesheet
If you don't have the prodark theme installed locally then
3. git clone https://github.com/turn211/ProDark-FreeCAD-theme/
If ProDark is already installed locally:
4. git pull
5. Restart FreeCAD
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: New ProDark Theme with 4k small text Mod

Post by turn211 »

bitacovir wrote: Tue Mar 16, 2021 2:31 pm The Image Scaling window (Image Workbench) does not have the text in ProDark Theme.
Thanks for trying the theme out. I can see by the colour of the WorkBench background you are using an old copy of ProDark theme. I even tried your version on my 3 machines and it works as should. I can also see by the picture of the no stylesheet that your FreeCAD needs to be restarted. When changing themes it is good practise to pick your theme then restart FreeCAD. Try downloading the latest version and see if it works for you. If you see a Blue WorkBench you are on a later version. Cheers.
scale_image_works_as_should.png
scale_image_works_as_should.png (10.45 KiB) Viewed 3776 times
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: New ProDark Theme with 4k small text Mod

Post by bitacovir »

turn211 wrote: Tue Mar 16, 2021 10:34 pm Thanks for trying the theme out. I can see by the colour of the WorkBench background you are using an old copy of ProDark theme. I even tried your version on my 3 machines and it works as should.
Yes. I was using the ProDark Theme installed as default in FC 0.19.24267
I downloaded and installed it from your github repo and now works fine. Thanks.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: New ProDark Theme with 4k small text Mod

Post by turn211 »

bitacovir wrote: Wed Mar 17, 2021 2:38 pm Yes. I was using the ProDark Theme installed as default in FC 0.19.24267
I downloaded and installed it from your github repo and now works fine. Thanks.
Glad it's working or maybe not. Curious are you having the same issue as i am https://forum.freecadweb.org/viewtopic.php?f=34&t=56875 in the latest 0.19 Release. If so it's a regression and i can't fix it. I think the build is not using QWindowsStyle on the Property tabs or something close to that.
QWindowsStyle not applied to ComboView Property Tabs.png
QWindowsStyle not applied to ComboView Property Tabs.png (7.3 KiB) Viewed 3645 times
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: New ProDark Theme with 4k small text Mod

Post by bitacovir »

turn211 wrote: Mon Mar 22, 2021 9:16 pm
Glad it's working or maybe not. Curious are you having the same issue as i am https://forum.freecadweb.org/viewtopic.php?f=34&t=56875 in the latest 0.19 Release. If so it's a regression and i can't fix it. I think the build is not using QWindowsStyle on the Property tabs or something close to that.QWindowsStyle not applied to ComboView Property Tabs.png
I don't remember that problem. Now I am using in FC0.19 last version of ProDark downloaded from your repo. Also, I have FreeCAD 0.20.
freecad_Q85fC4rUUg.png
freecad_Q85fC4rUUg.png (16.37 KiB) Viewed 3613 times
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 (Git)
Build type: Release
Branch: master
Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7
Python version: 3.8.8
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
.
.
FreeCAD_DL8PUAkTfC.png
FreeCAD_DL8PUAkTfC.png (19.88 KiB) Viewed 3613 times
OS: Windows 10 Version 1909
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.20.24451 (Git)
Build type: Release
Branch: master
Hash: 9c8685c20cd70553d85940c2ba93ade69f38171d
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: New ProDark Theme with 4k small text Mod

Post by turn211 »

bitacovir wrote: Tue Mar 23, 2021 12:02 pm I don't remember that problem. Now I am using in FC0.19 last version of ProDark downloaded from your repo. Also, I have FreeCAD 0.20
Thanks for posting. I see the bottom tabs are not getting styled square in all builds after Version 0.19.24267 on Windows. This a regression that i can't fix so I'll have to make a PR on Tracker.
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: New ProDark Theme with 4k small text Mod

Post by turn211 »

turn211 wrote: Tue Mar 23, 2021 3:32 pm
bitacovir wrote: Tue Mar 23, 2021 12:02 pm I don't remember that problem. Now I am using in FC0.19 last version of ProDark downloaded from your repo. Also, I have FreeCAD 0.20
Thanks for posting. I see the bottom tabs are not getting styled square in all builds after Version 0.19.24267 on Windows. This a regression that i can't fix so I'll have to make a PR on Tracker.
Fixed in PR 4668
User avatar
Eneen
Posts: 61
Joined: Wed Aug 12, 2015 9:06 pm

Re: New ProDark Theme with 4k small text Mod

Post by Eneen »

Hi!
Using build-in ProDark in FC 0.19.3 on 4k display. Is it possible to adjust toolbar/panel/status bar padding? It's ok without any stylesheet, take a look:
freecad_prodark_padding.jpg
freecad_prodark_padding.jpg (482.28 KiB) Viewed 2988 times
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: New ProDark Theme with 4k small text Mod

Post by turn211 »

Eneen wrote: Wed Dec 29, 2021 12:56 pm Hi!
Using build-in ProDark in FC 0.19.3 on 4k display. Is it possible to adjust toolbar/panel/status bar padding? It's ok without any stylesheet, take a look:
freecad_prodark_padding.jpg
I don't know what os you are using but it is possible. Tightening the padding breaks a lot of other elements. Until i have some free time i can't do all the bug testing required make this request possible. Thanks
User avatar
Eneen
Posts: 61
Joined: Wed Aug 12, 2015 9:06 pm

Re: New ProDark Theme with 4k small text Mod

Post by Eneen »

Ah, sorry, Windows 11.
Ok, thx a lot!
Post Reply