Title: GBC messages cover form content Post by: Alessandro (Efisio) R. on January 25, 2021, 11:12:14 am Hi everyone,
I have encountered a little and annoying graphical issue with GBC default display method for messages and errors (MESSAGE and ERROR BDL instructions). Since they don't appear in a fixed and specific position but they pop over the underlying window, they could cover a little part of the form content. This obviously has never happened in the GDC since messages and errors have their form space in the bottom of the window. GBC has reintroduced the display of menu instruction title in a manner similar to the GDC display of the messages and errors, so I am wondering if the display of errors and messages in the GBC could be achieved like this. This can probably be implemented through editing GBC templates and javascript code. Can anyone help me? I put as attachment a few screenshots, the 4st styles file and the per and bdl code to replicate the "issue". Thanks Alessandro Title: Re: GBC messages cover form content Post by: Reuben B. on February 05, 2021, 12:22:13 am I understand the issue. I don't recall why the GBC developers chose not to render ERROR/MESSAGE same as GDC and respect the values in the .4st with respect to the position, or add a new style attribute value for the rendering they have chosen.
You should note that the user can always tap on the close icon in the error/message to make it disappear and read what has been obscured. There are some theme variables you can use to alter the behaviour via GBC customisation. Look in http://4js.com/online_documentation/fjs-gbc-manual-html/reference/theme/theme_variables.html for theme-message-display-position, theme-message-display-time, theme-error-display-time, theme-error-display-position You may decide that changing the position may lessen the chance of something important being obscured or decide to change the time values so that the error/message fades out after X seconds. if you want to do more advanced customisation then grepping for those keywords in the GBC customisation sources should give you a good place to start Reuben |