Skip to content

Conversation

@ju1ius
Copy link

@ju1ius ju1ius commented Jan 14, 2011

Hello,
I just added automatic sizing ability to the MooDialog class.
There are two new options:

  • autosize (Boolean)
  • scale (String: 'max' || String: 'min' || Float between 0 and 1)

The autosize option triggers the behavior.
The scale option tells MooDialog to:

  • scale to 85% of the window size if the value is 'max'
  • scale to fit content if the value is 'min'
  • scale to a given ratio of the window size if the value is a float between 0 and 1

In case you'd like to merge beware as I've set autosizing as the default behavior,
so you might want to turn it off by default.

Cheers!

@arian
Copy link
Owner

arian commented Jan 14, 2011

Nice! I'll have a look at this once i've got some time ;)

@leegee
Copy link

leegee commented Aug 12, 2011

Would this allow for very large (stack trace) messages to be displayed nicely?

@Shic1983
Copy link

Looks cool... please merge..

@m-aciek m-aciek mentioned this pull request Aug 24, 2015
@ju1ius
Copy link
Author

ju1ius commented May 20, 2022

I guess we can now reasonably says that this won't be merged.

@ju1ius ju1ius closed this May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants