qt - QTableWidget: How can I get tighter lines with less vertical spacing padding? -
Great for simple grid display. Changing colors, fonts, etc. is straightforward. However, I did not manage to give the grid a 'hard' look with a less vertical whistle. I see around Qt documentation talks (like) margins border padding Widgets, but when I set them up, I get the change around the whole grid widget instead of inside. How can I set it (with style sheet or hard-coded option) to make the QTableWidget display harder? The code for 'yes' may be incorrect This was just an example. Copy & amp; Paste the rudimentary code instead of the following, change the value in "SetDefaultSectionSize ()", recompile it and run. You should see the difference that it determines the visible result of 10 or 50 yields. In the above code, it is possible that QFontMetrics or QFont is doing something wrong. Whatever height you want to use, you can use it, but the font size is most understandable. #include & lt; QtGui & gt; Int main (int...