alp.yilmaz Posted July 13, 2017 Share Posted July 13, 2017 Merhaba Arkadaşlar Borderı Olmayan ve Zemini Tamamen Transparent Bir Form Oluşturmak istiyorum. Normal Delphi de Bu İşlemi Yapabiliyoz ... UniGui de Böyle birşey Yapabilen yada Fikir Verebilecek Varmı? Quote Link to comment Share on other sites More sharing options...
mhmda Posted July 13, 2017 Share Posted July 13, 2017 Merhaba, You can use css 'background-color' with rgba(x,x,x,alpha), alpha is transparent percent (0-1) 0.5=semi transparent, but first you must set color of the form to 'clNone' it will convert to black, it is ok and then assign a css class to the panel. .clsTransparent { background-color: rgba(200,0,0,0.4) !important; } You must know how unigui builds the view it doesn't only displays a window it builds the basic window view from 3 layers: Container (view) window form 1 Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted July 13, 2017 Share Posted July 13, 2017 Merhaba, buda benim kullandığım borderlarla ilgili kod. Radius larda sıkıntı var biraz yuvarlamıyor sanırım. function window.afterrender(sender, eOpts) { Ext.get(sender.id).el.setStyle("padding", 0); Ext.get(sender.id).el.setStyle("border-width", 0); Ext.get(sender.id).el.setStyle("-webkit-border-radius", 15); Ext.get(sender.id).el.setStyle("-moz-border-radius", 15); Ext.get(sender.id).el.setStyle("border-radius", 15); } 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.