Author |
Message |
06/04/2009 16:17:00
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
Hi,
I noticed that since very recently the text in the yesno popups is displaced (see attachment).
Formerly it was centered horizontally and not placed at the very top.
Agnes
Filename |
popup_text.JPG |
Download
|
Description |
|
Filesize |
12 Kbytes
|
Downloaded: |
720 time(s) |
|
|
|
06/04/2009 16:22:03
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5534
Offline
|
....yes, you are right... this is the consequence out of the improvement some months ago, that the text now is scrolled if too long...
We'll try to re-arrange so that it is displayed in the center. (Short term.)
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
07/04/2009 09:47:41
|
moebus
Power User
Joined: 21/11/2007 12:49:18
Messages: 93
Offline
|
Hi,
we have implemented some code that tries to find the "optimal" dimensions of the popup, so that for small text it is just wide enough to display this text, for larger texts it is correspondingly larger, and a scrollbar appears only when the text tends to be larger than the screen.
We could share this to be implemented in the standard.
And b.t.w. we would like to post a feature request to have an "official" way to set the dimensions of the YESNOPopup and OKPopup. Currently we use reflection to get hold of the underlying ModalPopup.
Manfred
|
|
|
07/04/2009 10:41:31
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5534
Offline
|
..yes, of course this code should be shared. Pls. send to us.
Both OKPopup and YESNOPopup provide a function getModalPopup() - here you can do everything that you can do with popups (setting size, ...).
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
07/04/2009 18:48:21
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
maybe it makes sense to install a kind of Code Snippets area in the forum?
Markus
|
|
|
08/04/2009 08:02:47
|
Admin
Power User
Joined: 21/11/2007 11:36:10
Messages: 38
Offline
|
....yes "Code Snippets": I like the idea. So we just did it - and opened a new "publish-only" forum. Thanks! Björn
|
|
|
|