x11 Posted May 28, 2020 Share Posted May 28, 2020 Не могу понять, почему просвечивается предыдущая форма. Мало того, просвечивается и unimDBNavigator transparency.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2020 Share Posted October 16, 2020 On 5/28/2020 at 1:12 PM, x11 said: Не могу понять, почему просвечивается предыдущая форма. Здравствуйте, Для ToolBar, попробуйте следующее решение: ToolBar.ClientEvents.ExtEvents -> function painted(sender, eOpts) { sender.bodyElement.setStyle('background-color', 'white'); } 1 Quote Link to comment Share on other sites More sharing options...
x11 Posted November 11, 2020 Author Share Posted November 11, 2020 А если будет другая или темная тема? Может вместо конкретного цвета подставлять что-то вроде имени переменной, которая привязана к цвету (background-color) той или иной темы? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 11, 2020 Share Posted November 11, 2020 Здравствуйте, Вы используете последнюю сборку? Quote Link to comment Share on other sites More sharing options...
x11 Posted November 11, 2020 Author Share Posted November 11, 2020 да Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 11, 2020 Share Posted November 11, 2020 1 hour ago, x11 said: А если будет другая или темная тема? Может вместо конкретного цвета подставлять что-то вроде имени переменной, которая привязана к цвету (background-color) той или иной темы? Попробуйте такое решение: function painted(sender, eOpts) { //sender.bodyElement.setStyle('background-color', 'white'); sender.element.dom.setAttribute('style', 'margin-bottom: 0', 'important'); } Quote Link to comment Share on other sites More sharing options...
x11 Posted January 12, 2021 Author Share Posted January 12, 2021 Добавил строку к unimEdit, но в браузере вокруг элемента всё равно прозрачная рамка и видна предыдущая форма. Quote Link to comment Share on other sites More sharing options...
x11 Posted January 12, 2021 Author Share Posted January 12, 2021 Обратите внимание и на уголки. С помощью CustomCSS я включил скругление углов элементов ввода: .x-input-wrap-el { border-radius: 5px; } и в местах скругления тоже видна предыдущая (главная) форма: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.