From: The D. J. <the...@gm...> - 2006-10-04 03:39:01
|
You miss the point entirely, not only would an FXTextField not solve the problem as I outlined it (it would just offer a 'scrollable' FXLabel) but that was just an example. My 'real world' situations are far more complex and involve many other widgets (FXComboBoxes, Lists, Buttons, etc..., even the FXMainWindow could really use this) I personally have much use for such a feature and have seen other toolkits make use of similar. Its not a do-or-die thing, I have found nasty hacky work arrounds for most of the situations I have encountered where this would be extremely usefull but a simple addition to fox could easily make all those hacks go away. On 10/3/06, Sander Jansen <sa...@kn...> wrote: > I would use FXTextField for that purpose (disable it and such to make it look > like a label). > > Sander > > On Tuesday 03 October 2006 20:11, The Devils Jester wrote: > > I have looked and have yet to see a widget indpendant option for this, > > but I need to be able to use the LAYOUT_FILL_X option on a FXLabel, > > yet I want the FXLabel to be a minimum of a certain size. > > > > Let me give an example. > > > > You have an FXMatrix that contains customer data, in this example it > > will simply be a situation like such: > > > > FXLabel ["Customer Name"] : FXLabel ["name is printed here"] > > > > In this situation, if the user hasnt entered a name yet (different > > part of the form), then 2nd column of the FXMatrix will be collapsed > > because FXLabel will be non existant. > > > > If I use a LAYOUT_FIXED_WIDTH to give it a static width so its always > > larger than nothing, then we get into the issue where the customer > > name is larger than the FXLabel and problems arrise. > > > > Is it possible, if this feature does not already exist (I cannot find > > it), that you could add it? > > > > Basically I am asking for a function in one of the base classes (i.e. > > FXWindow), like follows: > > > > getMinSize() > > setMinSize() > > > > To compliment these, you could also include > > > > getMaxSize() > > setMaxSize() > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Foxgui-users mailing list > Fox...@li... > https://lists.sourceforge.net/lists/listinfo/foxgui-users > -- Talent is not something you learn, its something you refine. If you make something that any idiot can use, only idiots will use it. <a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=1">Get Firefox!</a> |