U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45511&th=9475#msg_45511
When doing international applications it is not easy to set the "static fields" (Label, ...) to a right width because the same sentence have different length in different languages. A possible way to solve this would be to set the field width automatically to the text width.
As this feature would produce that these label fields could overlap adjacent input fields, a solution could be to let fields sides to be set not only linked to window border, but linked to field side.
In the picture there is the same text in two languages. The same sentence in other languages could be even longer. In "Proposed", input fields adapt to static field widths.
What do you think about it?]]>koldo2015-11-26T11:30:13-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45518&th=9475#msg_45518
Then you can set sizes as you wishes, based on wide diapason of reasons. ]]>sergeynikitin2015-11-26T23:01:56-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45522&th=9475#msg_45522
However I thought in something more standard, even integrated into .lay ]]>koldo2015-11-27T08:18:48-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45523&th=9475#msg_45523
koldo wrote on Fri, 27 November 2015 09:18
Oh yes, that is possible.
However I thought in something more standard, even integrated into .lay
First of all, 'actual' is OK for me...
Anyway, possible suggestion how to achieve proposed: Perhaps we could have something like "WithLabel" template (similar to WithDropChoice), then layout issue would be resolved in CtrlLib...]]>mirek2015-11-27T08:27:23-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45524&th=9475#msg_45524
mirek2015-11-27T08:43:20-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45529&th=9475#msg_45529
In addition input controls like EditString have to be aware of it (resizing them) as if not the Label could overlap them.
]]>koldo2015-11-27T11:48:52-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45533&th=9475#msg_45533
]]>mirek2015-11-27T15:30:21-00:00Re: Set fields side to other fields and fields width to text width
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45538&th=9475#msg_45538
]]>koldo2015-11-27T21:28:56-00:00