FLTK logo

STR #2843

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 1.3 | SVN ⇄ GIT ]

STR #2843

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:FLUID
Summary:Fluid: "space evenly" makes the same distance between pairs
Version:1.3-feature
Created By:Nikego
Assigned To:matt
Fix Version:1.4.0
Fix Commit:cd5301ac37cf05440ae3cff03dc3fdcea15af68d
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Nikego
04:43 May 11, 2012
the_same_distance.patch
0k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 Nikego
04:43 May 11, 2012
It seems to me that "space evenly" action would be more useful if distance between all pairs of widgets would be the same. At the moment one space can be different from another in one pixel and this inequality is appreciable when distance is small. Of course, in general case last widget will change its position for a few pixels, but I think one can consider it as advantage even. But I understand it is quite disputable issue. I like to have the same distance via one click and here is my very short solution.  
 
#2 matt
06:35 Jan 20, 2023
Well, yes, if the distance is not evenly dividable, I can either move the last child, resize one of the children, or make one or two gaps a little bit smaller.

Either way, it's not perfect. I decided for your patch because a missalignment is quite visible compared to my original version.
 
     

Return to Bugs & Features ]

 
 

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'.