timthedevguy / BGHUDAppKit

* BGHUDAPPKIT is no longer under development by me, I hope that the community will keep it alive and going as I no longer have time to dedicate to the project** The missing HUD controls. Please scroll down to read the readme file for an important notice concerning the future of BGHUDAppKit. Note that there are multiple versions available, 10.5+, 10.6.7, and now 10.7. As soon as I learn how I'll make these all one code base if possible.
http://www.binarymethod.com/
312 stars 57 forks source link

Search Field does not honor control size attribute #14

Closed xdissent closed 14 years ago

xdissent commented 14 years ago

It looks like the BGHUDSearchFieldCell does not actually scale the magnifying class icon based on the size attribute in IB. The icon placement is adjusted to accommodate the smaller icon, but the "regular" sized icon is always used. Since HUDs are generally very small, simple UI elements, it would be really nice to get this fixed. Great work so far though!

timthedevguy commented 14 years ago

I remember I put a TODO note in that class file to allow resizing, I'll take a look. Thanks!

timthedevguy commented 14 years ago

Added support for NSControlSize

Added the support for NSControlSize when drawing the Search Button and Cancel buttons. Closed by a108f0d1962fce1655459262d9992d1bc31a0d3a