Commit Graph

1984 Commits

Author SHA1 Message Date
Pietro Gagliardi 2a0dbfc74a Added margins and padding to Grid and a test program to make sure they're the same... 2014-06-26 14:22:49 -04:00
Pietro Gagliardi b398150c09 Merge pull request #19 from boppreh/master
Add a Layout function for higher-level layouts. I might put this in a subrepository. Thanks @boppreh
2014-06-26 14:21:44 -04:00
BoppreH 52bccbc8da Add old layout.go 2014-06-26 15:11:57 -03:00
Pietro Gagliardi 3bedaf483a Implemented padding on Stack. 2014-06-26 10:55:11 -04:00
Pietro Gagliardi 1819bbed49 Fixed a typo in controlsize_windows.go. 2014-06-26 10:51:26 -04:00
Pietro Gagliardi 214467bb93 Implemented window margins for Grids and Stacks. 2014-06-26 10:36:59 -04:00
Pietro Gagliardi 131809fc62 Added a padding/margins test to the test program. 2014-06-26 10:24:07 -04:00
Pietro Gagliardi 67f1bcfc3c Fixed label alignment on Mac OS X for real now. 2014-06-26 10:06:58 -04:00
Pietro Gagliardi dd305141fd More TODOs. 2014-06-26 03:56:44 -04:00
Pietro Gagliardi a68ce7f94a More TODOs. 2014-06-26 03:53:10 -04:00
Pietro Gagliardi 1dd344b2f8 Fixed Space() causing panics during size calculations. 2014-06-26 03:49:47 -04:00
Pietro Gagliardi 2963b2217a Made the Listbox in the Label alignment test resize vertically so as to make the test more meaningful. 2014-06-26 03:41:44 -04:00
Pietro Gagliardi 2967ab1752 Changed the commit order in controlsize.go to be from right to left rather than from left to right; this will make the label positioning calculations on Mac OS X make sense. 2014-06-26 03:37:16 -04:00
Pietro Gagliardi 0b4c6a9228 Finished implementing the new control sizing system on Mac OS X. The new label behavior needs to be reimplemented next. 2014-06-26 03:24:27 -04:00
Pietro Gagliardi 5e17d64b09 Undid the whole yoff spiel on Mac OS X. NOW I'll merge the new sizing system into that backend. 2014-06-26 00:23:29 -04:00
Pietro Gagliardi 4a68c3cb7a Applied the new control sizing system to the GTK+ backend. 2014-06-25 23:44:22 -04:00
Pietro Gagliardi 6e170ad1db Made a quick comment clarificaiton in stdwndclass_windows.go. 2014-06-25 23:22:47 -04:00
Pietro Gagliardi 1eeadc000a Made the new sizing system work on Windows. 2014-06-25 23:21:57 -04:00
Pietro Gagliardi 9a3e73b460 Finished the Windows conversion to the new sizing system. Untested. 2014-06-25 23:05:29 -04:00
Pietro Gagliardi 92afc9b944 Integrated the new sizing system into Grid and Stack. 2014-06-25 22:43:35 -04:00
Pietro Gagliardi 08922103a7 Reverted Stack and Grid back to pre-yoff form. This is part of the change in the sizing system. 2014-06-25 22:21:28 -04:00
Pietro Gagliardi 057f0eaf53 Migrated existing controls to the new sizing system. 2014-06-25 22:17:26 -04:00
Pietro Gagliardi e4992dbcb2 Began the work for moving everything to the new control sizing system. 2014-06-25 22:07:37 -04:00
Pietro Gagliardi cf1da0218c Finished proposed new sizing system. 2014-06-25 20:32:19 -04:00
Pietro Gagliardi 42fe563d1c More work on the new sizing system. 2014-06-25 20:05:32 -04:00
Pietro Gagliardi fefc060f69 Added initial new sizing plan. 2014-06-25 19:47:16 -04:00
Pietro Gagliardi 8bedc1a59d More TODOs. 2014-06-25 18:33:08 -04:00
Pietro Gagliardi 86e2c93af3 More TODOs. 2014-06-25 18:28:09 -04:00
Pietro Gagliardi bca4450a29 Updated the README to discuss the new labelling rules. 2014-06-25 16:58:02 -04:00
Pietro Gagliardi 4b8bbb10a1 Improved the label alignment test. 2014-06-25 16:54:55 -04:00
Pietro Gagliardi c0d6293191 (Somewhat hackily) implemented the new label rules on Mac OS X. 2014-06-25 16:32:07 -04:00
Pietro Gagliardi 76781bc0de Improved the label alignment test. 2014-06-25 14:10:43 -04:00
Pietro Gagliardi b5abbebf0b Implemented new label behavior on Windows. 2014-06-25 12:20:59 -04:00
Pietro Gagliardi 39f0c352fb Added the necessary work to make new regular Labels work on the other platforms. 2014-06-25 11:58:13 -04:00
Pietro Gagliardi 55c636b1e3 Added new Label alignment test. 2014-06-25 11:44:22 -04:00
Pietro Gagliardi e00eebf580 Split Label into a non-aligned standalone label and an aligned regular label. Implemented on GTK+. Now to write the test. 2014-06-25 11:39:06 -04:00
Pietro Gagliardi 3711953626 Updated the README to include information about the werid Go 1.3 darwin bug. 2014-06-25 10:07:29 -04:00
Pietro Gagliardi 2059952786 Made LineEdit horizontally scrolling on Mac OS X. I'm not sure how I missed this before o.o 2014-06-22 16:37:17 -04:00
Pietro Gagliardi e00d2f2eb9 More TODOs. 2014-06-12 17:59:46 -04:00
Pietro Gagliardi 8dac591039 Converted the GTK+ custom stylesheet to a single string using CSS comments because cgo complains about the current one. While I'm at it, also remove the need for the null terminator on that string. Thanks to various people in irc.gimp.net/#gtk+ (grawity, dro|desrt, Company) and irc.freenode.net/#go-nuts and the Gopher Academy Slack. 2014-06-12 12:09:24 -04:00
Pietro Gagliardi 2a22646470 More TODOs. 2014-06-12 11:48:28 -04:00
Pietro Gagliardi af2e8c4b13 Made sysdata_windows.go send func()s to uitask and not uimsgs. This is also more correct, as multi-step processes happen in one homogenous blob instead of in steps spread across two goroutines. 2014-06-12 11:46:51 -04:00
Pietro Gagliardi c159bb2018 groan 2014-06-12 11:12:34 -04:00
Pietro Gagliardi 17a6c94e90 Revert all changes to dialog_windows.go because it's interfering with my fixup of sysdata_windows.go. 2014-06-12 11:09:56 -04:00
Pietro Gagliardi dbf2d8fde7 Upon further examination, my dialog_windows.go problems seem to be specific to dialog_windows.go... 2014-06-12 10:45:01 -04:00
Pietro Gagliardi d43ad25a96 More TODOs. 2014-06-12 09:59:18 -04:00
Pietro Gagliardi 645893ea59 Made the new dialog_windows.go not hang up uitask. 2014-06-12 09:57:50 -04:00
Pietro Gagliardi 29e5384b2e Migrated dialog_windows.go to use func() for uitask. 2014-06-12 09:51:29 -04:00
Pietro Gagliardi fc18ecc3d8 Added the scaffolding that will allow us to change uitask on Windows to take a func(). Right now it accepts both; this will allow me to do piecewise conversion. 2014-06-12 09:42:45 -04:00
Pietro Gagliardi b0ce712b0e Added Mac OS X 10.8 and 10.9 to compatibility.md. 2014-06-12 01:21:05 -04:00