summaryrefslogtreecommitdiff
path: root/todo.md
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-01 21:17:27 -0400
committerPietro Gagliardi <[email protected]>2014-04-01 21:17:27 -0400
commit8cb3991ef9245ebc84d3760bd2bb279b0a3e09ed (patch)
treeb05ceacb0d4425402fe988c5bbca2eb3921f2951 /todo.md
parentaf952325890580a63d821b03241480f91519e340 (diff)
Fixed Windows control sizing: turns out simply calling GetTextMetrics() was not enough, as the GetDC() functions don't load the control font into the DC; we have to do it ourselves with SelectObject() (according to GetTextMetrics()'s docs on MSDN). Upon re-evaluation, the only things that need custom fonts are menus and statusbars; I don't know if menus can be done with the standard contorls and statusbars change the font of all controls inside... so how fonts are handled in classData needs to change now.
Diffstat (limited to 'todo.md')
-rw-r--r--todo.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/todo.md b/todo.md
index cdf835f..8d11830 100644
--- a/todo.md
+++ b/todo.md
@@ -36,8 +36,9 @@ important things:
- NSComboBox scans the entered text to see if it matches one of the items and returns the index of that item if it does; find out how to suppress this so that it returns -1 unless the item was chosen from the list (like the other platforms)
- some Cocoa controls don't seem to resize correctly: Buttons have space around the edges and don't satisfy stretchiness
- make sure GTK+ documentation version point differences (x in 4.3.x) don't matter
-- button sizes and LineEdit sizes on Windows seem too big; Comboboxes have margins
- - Cocoa has similar margining issues (like on Comboboxes)
+- LineEdit heights on Windows seem too big; either that or LineEdit and Button text is not vertically centered properly
+ - are Checkboxes too small?
+ - Cocoa has similar margining issues (like Comboboxes having margins)
- sometimes the size of the drop-down part of a Combobox becomes 0 or 1 or some other impossibly small value on Windows
- make gcc (Unix)/clang (Mac OS X) pedantic about warnings/errors; also -Werror
- make sure scrollbars in Listbox work identically on all platforms (specifically the existence and autohiding of both horizontal and vertical scrollbars)