New ProDark Theme with 4k small text Mod

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

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 »

adrianinsaval wrote: Wed May 18, 2022 4:39 pm
turn211 wrote: Wed May 18, 2022 12:19 am Your wish has been granted. :lol: Get the latest a https://github.com/turn211/ProDark-FreeCAD-theme Preference Pack coming soon Tool Library Bliss.png
Could you PR that into the main repo? @uwestoehr can we get this merged before release? the theme is broken right now and merging it can't break anything else
Done. https://github.com/FreeCAD/FreeCAD/pull/6905
User avatar
MisterMaker
Posts: 365
Joined: Mon Sep 21, 2020 7:41 am

Re: New ProDark Theme with 4k small text Mod

Post by MisterMaker »

Does someone here knows if you can use this theme file to remove the text field in the workbench toolbar? I am trying to convert the workbench toolbar to tabs but it ads an empty space after each icon which seems to be an empty text field.
Image
with text:
Image
Seems like original icons also have a gap although it is smaller so I'm not sure what is going on:
Image
adrianinsaval
Veteran
Posts: 3132
Joined: Thu Apr 05, 2018 5:15 pm

Re: New ProDark Theme with 4k small text Mod

Post by adrianinsaval »

are you using selector toolbar addon or what? or is it a linkbranch feature?
User avatar
MisterMaker
Posts: 365
Joined: Mon Sep 21, 2020 7:41 am

Re: New ProDark Theme with 4k small text Mod

Post by MisterMaker »

adrianinsaval wrote: Thu May 19, 2022 11:53 am are you using selector toolbar addon or what? or is it a linkbranch feature?
You can replace icons in linkstage, true the icon themes folder or this theme.
Click 'Save' button to save the content here to create your own icon set. Or, you
can manually copy the content and append to your existing icon set configuration.

Note, tree view, toolbar, and workbench tab bar support non-square icons. The
size can be specified by adding an extra field as follow. Only SVG icon requires
explicit setting of dimention.

TreeItemInvisible, iconset:MyIcons/TreeItemInvisible.svg, 128x64
and
To override application icons, you can save the above configurations into your
application user directory Gui/IconSets/. You can then select your icons set in
Preference -> General -> Icon set.

For stylesheet authors, you can also override icons through Gui::MainWindow
property 'overrideIcons' as shown below. Please note that the icon settings in
the stylesheet takes precedence over icon set configurations.

Gui--MainWindow {
qproperty-overrideIcons : url(
TreeItemVisible, iconset:MyIcons/TreeItemVisible.svg
TreeItemInvisible, iconset:MyIcons/TreeItemInvisible.svg
);}

Note, tree view, toolbar, and workbench tab bar support non-square icons. The
size can be specified as follow,

TreeItemInvisible, iconset:MyIcons/TreeItemInvisible.svg, 128x64
I looked a bit more at it and I am pretty sure it is the text padding that is the cause. Wonder if I can change it?
adrianinsaval
Veteran
Posts: 3132
Joined: Thu Apr 05, 2018 5:15 pm

Re: New ProDark Theme with 4k small text Mod

Post by adrianinsaval »

I was asking about the workbench tabs rather than the icon override, is it selector toolbar addon or are you doing something else?
User avatar
MisterMaker
Posts: 365
Joined: Mon Sep 21, 2020 7:41 am

Re: New ProDark Theme with 4k small text Mod

Post by MisterMaker »

adrianinsaval wrote: Thu May 19, 2022 12:24 pm I was asking about the workbench tabs rather than the icon override, is it selector toolbar addon or are you doing something else?
It's the standard workbench toolbar the tabs including text are workbench icons replaced with custom png file. Not the best too as an image as text but it's super versatile, can make all kind of fancy stuff with an image that you cannot do with plain text.
Image
As far as I see it is called Std_workbench
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: New ProDark Theme with 4k small text Mod

Post by Simbioz »

The text in the blue letters is barely visible on my screen (I have to be directly in front and pretty close to see it). I think those are expressions referencing values on the spreadsheet. Where in the .qss file do I have to edit to change it's color? Thanks.
Prodark.png
Prodark.png (250.26 KiB) Viewed 324 times
I have the latest git version btw.
Non native English speaker.
User avatar
MisterMaker
Posts: 365
Joined: Mon Sep 21, 2020 7:41 am

Re: New ProDark Theme with 4k small text Mod

Post by MisterMaker »

I think I fixed that in mine version:
https://github.com/MisterMakerNL/ExtremeProDark
It's probably highlight thingy in the tree section.
User avatar
Simbioz
Posts: 67
Joined: Tue Mar 30, 2021 2:55 pm

Re: New ProDark Theme with 4k small text Mod

Post by Simbioz »

MisterMaker wrote: Sat Jul 02, 2022 5:31 am I think I fixed that in mine version:
https://github.com/MisterMakerNL/ExtremeProDark
It's probably highlight thingy in the tree section.
Thanks I will check it out.
Non native English speaker.
Post Reply