Commit Graph

1344 Commits

Author SHA1 Message Date
Pietro Gagliardi 20821c26eb Implemented Checkbox.SetChecked() on Mac OS X and updated the README. 2014-06-26 21:54:14 -04:00
Pietro Gagliardi ebbd76716f Implemented Checkbox.SetChecked() on Windows. 2014-06-26 21:40:23 -04:00
Pietro Gagliardi 098beef996 Added Checkbox.SetChecked() and implemented it on GTK+. 2014-06-26 21:36:46 -04:00
Pietro Gagliardi 5c002e3d0f Allowed tab stops on Windows; see http://blogs.msdn.com/b/oldnewthing/archive/2003/10/21/55384.aspx. Fixes #13 2014-06-26 20:20:00 -04:00
Pietro Gagliardi 700fef758b Removed the special-casing of GtkLayout to have transparent frames: this breaks the Ubuntu GTK+ 3 themes (Ambianace and Radiance) with their correct renderer (see https://github.com/andlabs/ui/pull/19#issuecomment-47273597), and the KDE bug has now been fixed. 2014-06-26 17:04:56 -04:00
Pietro Gagliardi 2e9e2732e7 Fixed README and removed padding/spacing from future plans. 2014-06-26 16:01:22 -04:00
Pietro Gagliardi 2c13236bf8 Updated README. 2014-06-26 15:59:13 -04:00
Pietro Gagliardi c401617637 Merge pull request #21 from boppreh/master
Fix layout.go in regard to new padding and margin
2014-06-26 15:51:34 -04:00
BoppreH 85f759ea5f Remove padding and margin from layout.go 2014-06-26 15:37:19 -03:00
Pietro Gagliardi 999e669aa4 Merge branch 'master' of github.com:andlabs/ui 2014-06-26 14:24:16 -04:00
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