This just changes the font size of the word "Wallet" from 11 to 13 points.
Clean up font size in main window for observed inconsistency in Mac OS #2361
pull L2G wants to merge 1 commits into bitcoin:master from L2G:font-tweak changing 1 files +0 −1-
L2G commented at 2:25 AM on March 13, 2013: contributor
-
BitcoinPullTester commented at 7:42 AM on March 13, 2013: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/1b7c9b064d97eedde4dc49c7380546a6a05e0e9c for binaries and test log.
-
Diapolo commented at 7:44 AM on March 13, 2013: none
With fontsize 13 it is consistent with what other elemts? Sorry I don't get it ^^.
-
L2G commented at 2:23 AM on March 14, 2013: contributor
"Wallet" at 11 points was smaller than "Recent transactions" at 13 points. It seemed like a typo, and when I changed it to 13 points, it looked nicer to me. I can post some before-and-after screenshots. (Not sure why I didn't, to be frank and honest.)
-
Diapolo commented at 8:18 AM on March 14, 2013: none
Would be nice to see your screenies, as I seem to see something different :).
-
laanwj commented at 6:01 AM on March 15, 2013: member
I think the problem is that "Wallet" has a fixed font size, whereas "Recent Transactions" has not. So, depending on your system font size, it may be either larger or smaller. Hardwiring it to 13 is not a general solution either. Maybe remove the font size override for wallet completely?
-
Diapolo commented at 6:40 AM on March 15, 2013: none
I'm also for removing that special casing there. Perhaps it's sufficient to leave it just bold then.
-
laanwj commented at 7:42 AM on March 15, 2013: member
Fine with me too. Or maybe a relative font size that is specified in em will work, like in CSS? Ie being able to say "I want this 1.2 times bigger than normal letters" would be nice.
-
L2G commented at 10:09 PM on March 15, 2013: contributor
I'm happy with all of these ideas. I didn't realize "Wallet" was being set to an absolute size while other text was being set to a relative size. As the ticket title indicates, "consistency" is the key! :smile_cat:
-
L2G commented at 11:57 PM on March 19, 2013: contributor
Here's the problem I was originally trying to fix. Note how "Wallet" on the left is smaller than "Recent transactions" on the right.

-
L2G commented at 12:12 AM on March 20, 2013: contributor
By the way, @laanwj, I'm looking at this in the design window in Qt Creator 2.6.2, and it looks like both labels specify a fixed point size. Moreover, I don't see how it's possible to define relative sizes.
I'm still very much a rookie with this Qt stuff, so your patience and understanding is appreciated. :grin: I'm just trying to help out from the Mac side.
-
laanwj commented at 4:15 PM on March 22, 2013: member
If there is no way to set relative sizes (I don't know of one, either) I recommend removing all explicit font sizes from the xml. Setting absolute sizes is a bad idea these days.
-
L2G commented at 5:10 AM on March 25, 2013: contributor
Sounds like there is a bigger discussion to be had here, with a broader scope than what this ticket covers.
-
L2G commented at 4:41 AM on March 26, 2013: contributor
OK, or I could create a new branch so you don't have an extra, vestigial commit in there.
-
L2G commented at 4:58 AM on March 26, 2013: contributor
Here's how it looks on Mac without a font size specified for the "Wallet" label:

-
Diapolo commented at 6:18 AM on March 26, 2013: none
You can squash the 2 commits into one, so that you don't need to create a new branch. Use
git rebase origin -iwhen you are on this branch. You will then see the 2 commits an can replacepickfor the first withrewordandpickfor the second withsquash... just save then and edit the commit-msg and do angit push origin YourBranchName -f.Edit: Is there no text on that progressbar on Mac? Never or just in your screenshot?
-
Diapolo commented at 6:18 AM on March 27, 2013: none
If it is easier for you to create a new branch just do that and reference this old pull in the Github description of the new pull :).
-
Don't specify a point size for "Wallet" 15e9739f3b
-
Diapolo commented at 7:51 AM on March 28, 2013: none
I was talking about the text on the blueish progressbar, which should read something like "x blocks remaining". Is that uncommon on Mac to have text on progressbars?
-
Diapolo commented at 7:51 AM on March 28, 2013: none
ACK
-
L2G commented at 2:09 PM on March 28, 2013: contributor
I think it's pretty uncommon. I don't know whether it's failing to show up because Qt won't do it or because someone just commented it out with
#ifndef Q_OS_MAClike they did with the system tray icon ("status menu icon" in Apple parlance). I'd have to do some digging.I have another idea for something to do with the progress bar anyway, so we could continue that discussion in that future ticket where it'll be more on topic.
UPDATE: See my new comment under #2103.
-
BitcoinPullTester commented at 1:31 PM on March 30, 2013: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/15e9739f3b0c93ed7b9f076873a1c4b112f41894 for binaries and test log. This is an automated test script which runs test cases on each commit every time is updated. It, however, dies sometimes and fails to test properly, if you are waiting on a test, please check timestamps and if the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ and contact BlueMatt on freenode if something looks broken.
- laanwj referenced this in commit a7cbb340bd on Mar 31, 2013
- laanwj merged this on Mar 31, 2013
- laanwj closed this on Mar 31, 2013
- laudney referenced this in commit c2a38bbe6d on Mar 19, 2014
- DrahtBot locked this on Sep 8, 2021