Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIM Views Manager Icons have a fixed "maximumSize" width. Width above 32 px Non Styleable. #75

Open
turn211 opened this issue Mar 3, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@turn211
Copy link

turn211 commented Mar 3, 2021

As per discussion https://forum.freecadweb.org/viewtopic.php?f=34&t=56219 maybe when time is available some solutions. Thanks
bim_icons

@yorikvanhavre yorikvanhavre added the bug Something isn't working label Feb 22, 2022
@yorikvanhavre yorikvanhavre self-assigned this Feb 22, 2022
@yorikvanhavre
Copy link
Owner

Sorry it took so long to look at this 😅 I am not sure how to specify a max width (in case no stylesheet is used), but I'll try removing the maxwidth property and see what happens

@yorikvanhavre
Copy link
Owner

Hmm if I do that I can't make a narrow dialog anymore... Maybe just removing the spacer would do?

@turn211
Copy link
Author

turn211 commented Feb 22, 2022

Not being a programmer, I'll give my 2 cents
Maybe changing width to infinite (16777215) <width>16777215<width> instead of <width>32</width>
<widget class="QPushButton" name="buttonAddLevel"> <property name="maximumSize"> <size> <width>32</width> <height>16777215</height> </size>
if not maybe changing the spacers from having a Maximum size to Expanding.
https://programmerall.com/article/5185347729/
or maybe this helps
https://www.qtcentre.org/printthread.php?t=54080&pp=20&page=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants