This has been bugging me for a couple of years now but why is it that the same font attributes for both and they aren't really the same? I can have a listctrl on one side and a listbox on the other side filled with items and they do not horizontally line up YET the boxes are? Almost reminds me of a kerning issue but I have no idea how to fix it even if it were.
Any ideas about this?
btw, this is on Windows (98, XP, Vista, 7).
Cosmetic issues between listbox and listctrl. Topic is solved
-
- Super wx Problem Solver
- Posts: 347
- Joined: Wed Nov 02, 2005 10:33 am
A screen shot would have been nice.
Both are native controls, so i'm not sure there is anything you can do about it. I guess that the wxListCtrl has a different vertical spacing because it can display rules between the "cells".
You could try replacing the wxListBox with a "one column, no header wxListCtrl", then they should line up.
Both are native controls, so i'm not sure there is anything you can do about it. I guess that the wxListCtrl has a different vertical spacing because it can display rules between the "cells".
You could try replacing the wxListBox with a "one column, no header wxListCtrl", then they should line up.
Use the source, Luke!
-
- Super wx Problem Solver
- Posts: 347
- Joined: Wed Nov 02, 2005 10:33 am
-
- Super wx Problem Solver
- Posts: 347
- Joined: Wed Nov 02, 2005 10:33 am