Ignore:
Timestamp:
3/19/2008 2:04:19 PM (7 years ago)
Author:
lowjoel
Message:

Fixed the sizing and placement of the Toolbar menu arrow. It used to be hard to hit it because it was oversized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/ToolBar.cs

    r207 r290  
    101101                { 
    102102                    Bitmap menu_arrow = Properties.Resources.ToolbarArrow; 
    103                     i.MenuRect = new Rectangle(x += 6, (Height - menu_arrow.Height) / 2, 
     103                    i.MenuRect = new Rectangle(x += 6, i.TextRect.Y, 
    104104                        menu_arrow.Width, menu_arrow.Height); 
    105                     dc.DrawImage(menu_arrow, i.MenuRect.Location); 
     105                    dc.DrawImage(menu_arrow, i.MenuRect); 
    106106                    x += i.MenuRect.Width; 
    107107                } 
Note: See TracChangeset for help on using the changeset viewer.