LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 2021 thick line decoration changed

Solved!
Go to solution

The thick line changed in LabVIEW 2021.  More specifically, it looks like it is now anti-aliased with smooth edges.

 

While that is a nice feature, it breaks a bunch of my old UI things where I had expected the thick link to have no aliasing.

 

Ideally, this would be an optional property of the line decoration.

 

Thoughts?  This seems bad

 

See below:

 

2023-01-30_09-48-10.png

 

0 Kudos
Message 1 of 12
(1,493 Views)
Solution
Accepted by topic author brentjustice

Add this to your labview.ini and the good old sharp lines are back:

SmoothLineDrawing=False

 

Message 2 of 12
(1,358 Views)

@dadreamer wrote:

Add this to your labview.ini and the good old sharp lines are back:

SmoothLineDrawing=False

 


I don't see any anti-aliasing, no matter what I set "SmoothLineDrawing" to.

paul_cardinale_0-1678281749213.png

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 12
(1,348 Views)

It's for line decorations only (and the objects that include them). Other cosmetics seem to be unaffected.

2023-03-08_19-36-18.jpg

0 Kudos
Message 4 of 12
(1,332 Views)

@dadreamer wrote:

It's for line decorations only (and the objects that include them). Other cosmetics seem to be unaffected.

2023-03-08_19-36-18.jpg


I never get smoothing.  It always looks the same regardless of the state of SmoothLineDrawing.  It always looks like this:

paul_cardinale_0-1678288519519.png

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 12
(1,316 Views)

Maybe it's a difference in what graphics cards or drivers you're using??? 🤔  For some strange reason, I see Paul working on an old Mac.  Probably a Lisa. 😅

apple-lisa-computer-1200x788.png

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 6 of 12
(1,312 Views)

@NIquist wrote:

Maybe it's a difference in what graphics cards or drivers you're using??? 🤔  For some strange reason, I see Paul working on an old Mac.  Probably a Lisa. 😅

 


I am old and crotchety, and do tend to hang on to old stuff as long as it works, but  I'm not that bad.

I've tried it on 2 different Windows 10 machines (one laptop, one rack-mount)

"If you weren't supposed to push it, it wouldn't be a button."
Message 7 of 12
(1,308 Views)

I just discovered this a few days ago:
The change seems to have happened between LV 2021 and LV2021 SP1.

What version are you using?

WOOT!  Thank you for the INI key

0 Kudos
Message 8 of 12
(1,296 Views)

If I might ask, how did you figure this out?

0 Kudos
Message 9 of 12
(1,294 Views)

I'm right there with you Paul.  My first PC was a Mac 512K with TWO floppy drives!  The Lisa was way too expensive, but I hear it was quite a powerful machine in its time.  Just like us.  😎

 

BTW, I tried the SmoothLineDrawing=False trick and it didn't work for me either.  I have a basic HP i5 Win10 PC but it does have a GTX1050 GPU so I expected it to work.

 

EDIT: Just saw the post about it happening in LV2021.  I'm still on 2019.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 10 of 12
(1,285 Views)