[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Text in YesNo-popups displaced  XML
Forum Index -> Development
Author Message
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 [Disk] Download
 Description
 Filesize 12 Kbytes
 Downloaded:  690 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
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
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
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
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
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

maybe it makes sense to install a kind of Code Snippets area in the forum?

Markus
[WWW]
Admin

Power User

Joined: 21/11/2007 11:36:10
Messages: 37
Offline

....yes "Code Snippets": I like the idea. So we just did it - and opened a new "publish-only" forum. Thanks! Björn
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team