Re: Size of comboboxes in an NSTableView / NSTableColumn
Re: Size of comboboxes in an NSTableView / NSTableColumn
- Subject: Re: Size of comboboxes in an NSTableView / NSTableColumn
- From: Steven Kramer <email@hidden>
- Date: Tue, 17 May 2005 16:05:13 +0200
Op 17-mei-05 om 10:08 heeft Felix Schwarz het volgende geschreven:
Hi everyone,
I want to use a NSComboBoxCell inside a NSTableColumn and experience
problems regarding the sizing of the cell.
Please have a look at this screenshot: http://www.wapapp.de/shot.jpg
While normal NSTextFieldCells work fine (the "land" and "nature"
entries), the NSComboBoxCell gets cut off and has a different vertical
offset.
I've seen the same. I think I fixed it by a combination of adjusting
the row height and setting the combobox's control size
(setControlSize:). I never got it completely right, though. Alignment
and clipping issues remained...
Ex: [[combo cell] setControlSize:NSSmallControlSize];
Regards,
Steven Kramer
--
email@hidden
http://www.sprintteam.nl/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden