Original Post
im creating a calendar widget to allow people to select a date (in java), much like what you would see in setting the system time under windows, where the dates show up under the correct days etc. im using a gridlayout for the days, but sometimes the layout needs a 6th week (if the month starts on a friday ) but when i do that, the layout goes bad. nothing aligns properly because the gridlayout creates a new column (the first day would show up next to the SAT label... offsetting everything. why does the layout create a new column when you specify the size? and how do i stop it? thanks.