-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Parameter box improvements #5119
Conversation
• Added "Layers" side text for Bottom shell layers Number of slow layers Top shell layers • Added "Layer" side text for Full fan speed at layer • Added "x" side text for ratios. This one looks nice imo Internal bridge flow ratio Bridge flow ratio Top surface flow ratio Bottom surface flow ratio Flow ratio Scarf joint flow ratio • Added "mm" side text for Mesh margin Minimum wall length • Added "°C" side text for Softening temperature • Converted these to spin boxes. Currently it combines combo box and input box and it has weird usage. Using spin boxes better because other layer related input boxes uses this too Top interface layers Bottom interface layers
|
@discip then we should delete these with your logic side text generally uses units and its unit "Layer" / "Layers" in my perspective problem is combining combo box and and input box and parameter value boxes too narrow to fit multiple components about spin boxes you can set value faster with them compared to combo box |
I'm really curious about what others think about these changes. |
you just count mouse clicks. you should also count mouse movements as steps |
@SoftFever this commit also ready for review. also there is a "Questionable areas for discussion" section on first post |
@SoftFever should i split this commit to separate commits |
@@ -816,6 +816,7 @@ void PrintConfigDef::init_fff_params() | |||
def = this->add("bottom_shell_layers", coInt); | |||
def->label = L("Bottom shell layers"); | |||
def->category = L("Strength"); | |||
def->sidetext = L("layers"); // ORCA add side text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works really good 👍
src/libslic3r/PrintConfig.cpp
Outdated
@@ -918,6 +919,7 @@ void PrintConfigDef::init_fff_params() | |||
def->category = L("Quality"); | |||
def->tooltip = L("Decrease this value slightly(for example 0.9) to reduce the amount of material for bridge, " | |||
"to improve sag"); | |||
def->sidetext = L("x"); // ORCA add side text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find add "x" side text strange.
Can we remove x side texts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a % used for percentage. x fits well for ratio imo. also i tried to show values as "1.00" to indicate its float numbers but they always rounded to "1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
%
and other units like mm
are common and therefore look natural.
The x looks very strange and confusing as it displays like 1 x
.
We shouldn't add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
google suggest few alternatives for multiplier symbol.
Multiplication sign definition: the symbol ( ⋅ ), ( × ), or ( ∗ )
But ratio is completely different thing. it mostly suggest proportional ratio and its symbol is " : "
1 mm
1 x
1 ⋅
1 ×
1 ∗
ofc i would not die if we dont add it. still looks nice imo :)
here is degree, mm, % and x in same view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think the x is confusing here :)
resources/images/inputbox_y.svg
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one!
One suggestion though, can we make the font easier to read? the current square font may cause confusion IMO
@SoftFever updated point control icons |
@yw4z |
@SoftFever yes i will remove them but quite busy atm. probably complete changes on PRs on end of week |
@SoftFever reverted changes for "x" side text and removed color related fixes because they need additional changes. i will send color related issues as another commit because i found 10+ more btw why this one not uses percentages. it will make it easier to understand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds missing / empty side texts
• Added "Layers" side text for
• Added "Layer" side text for
• Added "mm" side text for
• Added "°C" side text for
Fixes combo boxes without arrows
Support > Style
Filament Supports
Support > Advanced
after fix shows dropdown arrows if there is no icon for dropdown item
Converts double input boxes to regular input boxes
After Fix
• Used icons for X / Y instead text. input boxes aligns perfectly with other components
• Didn't use combined side text because it not matches style with other components
• Solves styling problem and gives same result on all platforms
Preview for Printer Settings > Printable Area > Set
Also matched style of Create printer window
• Used text align on left like on other components
• Matched width of input boxes with other components
Questionable areas for discussion (EXCLUDED FROM COMMIT)
• Converting these to spin boxes. Currently it combines combo box and input box and it has weird usage and no need to use on this ones because dropdown only shows numbers without any description. Using spin boxes better because other layer related input boxes uses this too
I noticed there is a "Same as Top" option for Bottom interface layers. I guess i will revert back to default with your comment
not rendered well with side text
solution with spin box. there is an explanation required on tooltip for -1 equals same as top
Also this ones combines combo box and input box. like i said its weird but helpful on this ones compared to interface layers ones
If you planning to add more pre defined values for value boxes in future maybe increasing width of input boxes will be a good choice because value + dropdown arrow + side text looks very dense
I tried to make use them as regular input box in my UI commit but probably revert back with your comment