Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Simple single-value dialogs... small correction for more info space
Simple single-value dialogs... small correction for more info space [message #60638] Mon, 17 June 2024 10:28 Go to next message
luoganda is currently offline  luoganda
Messages: 214
Registered: November 2016
Experienced Member
Can someone make all Edit...(...,label) <=labelSize(bottom)
as big as a dialog allows it - so that all space can be used(as multiline)?
I do this manually with all new downloaded versions of upp - and it works,
because that 3lines info can come handy.

Also, i noticed that sometimes EditNumber(double, int seems ok)
doesn't show any number in editField(it's empty), no matter what value double is set to.
upp-17242

Cheers to the uiLook,
in win11 and dark mode - things don't look as win3.11 anymore Smile

[Updated on: Mon, 17 June 2024 10:34]

Report message to a moderator

Re: Simple single-value dialogs... small correction for more info space [message #60684 is a reply to message #60638] Thu, 18 July 2024 11:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
luoganda wrote on Mon, 17 June 2024 10:28
Can someone make all Edit...(...,label) <=labelSize(bottom)
as big as a dialog allows it - so that all space can be used(as multiline)?
I do this manually with all new downloaded versions of upp - and it works,
because that 3lines info can come handy.

Also, i noticed that sometimes EditNumber(double, int seems ok)
doesn't show any number in editField(it's empty), no matter what value double is set to.
upp-17242

Cheers to the uiLook,
in win11 and dark mode - things don't look as win3.11 anymore Smile


Not sure what you mean. Pull request for layout? Or maybe .lay file attachment here?

Example for EditNumber?
Re: Simple single-value dialogs... small correction for more info space [message #60685 is a reply to message #60638] Thu, 18 July 2024 13:56 Go to previous message
luoganda is currently offline  luoganda
Messages: 214
Registered: November 2016
Experienced Member
Here is for EditStringLayout(Label).
Simply maximize bottom(Label) as much as Dialog allows it,
and one gets an extra multiline info space.
Instead of ... TopPosZ(8, 19)) using arround ...TopPosZ(8, 56)).

EditStringLayout example attached(modified from upp-17242 but i think latest has the same contents).

Added:
In fact - i modified all three(Edit-Int/String/Double-Layout),
resizing right Int/Double dialog by a few pixels and making EditDoubleLayout(lbl,number) same size as in EditIntLayout.
So, if this will be used - mostly just copy/paste Ctrl.lay into source.

I use multi-line info-space(Label) quite a lot and it works ok.
  • Attachment: Ctrl.lay
    (Size: 7.76KB, Downloaded 59 times)
Previous Topic: Upp Widgets in a dll
Next Topic: Paste clipboard in MS Teams
Goto Forum:
  


Current Time: Sun Jun 01 05:54:39 CEST 2025

Total time taken to generate the page: 0.01964 seconds