The title says it all.
What is the exact amount of pixels in a UI stroke per thickness?
This is what it looks like when Thickness is 10, and I know that that is way more than 10 pixels, meaning it’s not one Thickness per pixel.
Properties of the UIStroke:
1 Like
ZennFake
(Zen)
March 12, 2025, 9:52pm
#3
One thickness value is one pixel
Yes, I know what the thickness is. But, thickness is not measured in pixel but in some other format. My question is; How much is that in pixels?
If it was that obvious, I wouldn’t be making this post.
ZennFake
(Zen)
March 12, 2025, 9:54pm
#6
Thickness is measured in pixels, 1 thickness from the start of the asset, if it was 4 it would be 4 pixels off of the base asset
But the documentation I linked, if you read it, says that Thickness is measured in pixels. Like the exact phrase “measured in pixels”.
Thickness 1 == 1 pixel
Thickness 3 == 3 pixels
Thickness 10 == 10 pixels.
Is there something you are seeing that makes you think that’s no the case?
I edited the original post so you guys can see that 1 thickness is NOT 1 pixel.
ZennFake
(Zen)
March 12, 2025, 9:59pm
#9
i dont think your uistroke is setup properly, can you send an ss of the properties tab
ChizhMOON
(MopBK)
March 12, 2025, 10:00pm
#10
Possibly my Roblox Studio is bugging out or the document is slightly wrong (which is unlikely), but 10 Thickness is not 10 pixels (at least on my screen).
ChizhMOON
(MopBK)
March 12, 2025, 10:02pm
#11
Ok, I edited the original post with the screenshot
ZennFake
(Zen)
March 12, 2025, 10:04pm
#12
can you also add a screenshot of the setup in the explorer tab?
check your dpi, it might be accurate on 96dpi but not others; i can’t verify right now though
1 Like
ChizhMOON
(MopBK)
March 12, 2025, 10:05pm
#14
uhh, this might be a stupid question but, what is dpi?
in short it’s a scale for ui elements so that they can appear larger on smaller screens for readability, generally can be observed on laptops
ChizhMOON
(MopBK)
March 12, 2025, 10:07pm
#16
Hold on, isn’t DPI mouse-related
sort of; it stands for dots per inch and is used for both measuring screens and mouse sensitivity, think of it as hz being used for both refresh rate and audio sample rate
my uistrokes are definitely in pixels.
This is a SURFACE ui. it has a property that is pixelsperstud. that’s way it appears this way, pixelsper stud is usually on 50 .
ChizhMOON
(MopBK)
March 12, 2025, 10:10pm
#20
No, that is a ScreenGUI . . . . . . .