@@ -511,10 +511,10 @@ impl ToolbarSurfaceManager {
511511 // Create top toolbar if visible
512512 if self . is_top_visible ( ) {
513513 // Dynamic size based on mode:
514- // - Icon mode: 580px wide (5 tools + text + clear + highlight + icons checkbox + pin/close)
514+ // - Icon mode: 610px wide (6 tools + text + clear + highlight + icons checkbox + pin/close)
515515 // 80px tall (42px buttons at y=6, fill toggle below, tooltip space)
516- // - Text mode: 680px wide (text labels need more space), 56px tall (no tooltips)
517- let target_size = if use_icons { ( 580 , 80 ) } else { ( 680 , 56 ) } ;
516+ // - Text mode: 720px wide (text labels need more space), 56px tall (no tooltips)
517+ let target_size = if use_icons { ( 610 , 80 ) } else { ( 720 , 56 ) } ;
518518
519519 // Recreate if size changed
520520 if self . top . logical_size != ( 0 , 0 ) && self . top . logical_size != target_size {
@@ -692,6 +692,7 @@ fn render_top_strip(
692692 // Tool definitions with icons and labels
693693 type IconFn = fn ( & cairo:: Context , f64 , f64 , f64 ) ;
694694 let buttons: & [ ( Tool , IconFn , & str ) ] = & [
695+ ( Tool :: Select , toolbar_icons:: draw_icon_select as IconFn , "Select" ) ,
695696 ( Tool :: Pen , toolbar_icons:: draw_icon_pen as IconFn , "Pen" ) ,
696697 ( Tool :: Line , toolbar_icons:: draw_icon_line as IconFn , "Line" ) ,
697698 ( Tool :: Rect , toolbar_icons:: draw_icon_rect as IconFn , "Rect" ) ,
0 commit comments