[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-swt-dev] Cocoa Buttons and vertical size
- From: Kristian Duske <4815162342n@xxxxxxxxx>
- Date: Tue, 6 May 2008 17:16:45 +0200
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=526izbH/DfetK/u1HwtP45bGNd5z0SBofvKlGN7bX8w=; b=hFkWsKNYEmg1bncCM4XfOKIhHV7Z3gM0NkA394hqXRXBtv3aqdxkYR7he8g6ahd9wtNaEWyi3te34nmwoWCVw9tqIa846MSlAraCpuVdhHmxKK8vHJ5OlZi4q/0iJhMTyxppCtinoUSRc5TBrGPlwFxVxiqpSKzs1HQRAhA50Lk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=OhrMF4anYfhLWsbGtY7IiSVbBdk3Lyaawhq7elL6nRYGABbgHryXjHse4zhjcUHmsfxHN4sVXBcLr83k1JidpmbPsUA17WyMqni4cwMkbI2P+2FB8RVERLafEbJOA99JFRqTc+38UldI2IGYQQo4IqkRdPYw+0fsEH1L6qkWfnM=
Thanks for the patches and continuing work. Sorry I haven't had a
chance to review your work yet. Getting 3.4 out the door has been
taking up all of our time recently.
Yeah I can imagine :-)
As to where we change the style of the button, the answer is simple
- we don't. That's a carbon behavior that we're getting for free. If
I remember correctly Cocoa will just center the button in the space
Yes, that's what Cocoa does. I guess I'll just leave it at that then.
In Control textExtent, we would probably not use instance variables,
but just create the Cocoa objects as we need them. That decision
could be revisited if performance became a problem, but we normally
try to avoid instance variables when we can.
Alright. I'll submit a patch for this bug as soon as I have tested it
a bit more.