FLTK logo

STR #2008

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #2008

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Browser column header doesn't allow for multi-line labels
Version:2.0-feature
Created By:bnolsen
Assigned To:TobiasFar
Fix Version:2.0-feature (SVN: v6148)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
 
#1 bnolsen
09:03 Jul 17, 2008
Browser_header.patch
0k
 
 
#2 bnolsen
11:59 Jul 17, 2008
Browser_header2.patch
0k
 
     

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
 
#1 bnolsen
09:03 Jul 17, 2008
trying to set a column label to a multiline label (something with "\n") doesn't result in a correctly sized header.

Attached is a half fix.  It leverages the current BButton::layout to compute the height of the first column not by calls to the current font but by a call to measure_label().  leading() + 3 are added because adding these *seem* to result in the same typical height as computed before.
 
 
#2 bnolsen
11:59 Jul 17, 2008
Updated to a more general patch which scans all the column headers.  
 
#3 TobiasFar
12:41 Jul 17, 2008
Fixed in Subversion repository.  
 
#4 TobiasFar
12:41 Jul 17, 2008
Fixed in Subversion repository.  
     

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.