Jump to content

How to remove the unimEdit's border( top,left,right) ?


Marco Hsu

Recommended Posts

set EDT_login to unimEdit1.LayoutConfig.Cls property

put your css code in file program.exe\files\css\custommob.css

and then load css-file in mainmodule:

 

procedure TUniMainModule.LoadScriptCSS;
begin
  if upMobile in UniMainModule.UniPlatforms then
    UniSession.AddJS('Ext.Loader.loadScript("/files/css/custommob.css")');


//if upDesktop in UniMainModule.UniPlatforms then
//    UniSession.AddJS('Ext.Loader.loadScript("/files/css/custom.css")');
end;


// BeforeLogin or in MainModuleCreate
procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean);
begin
  LoadScriptCSS;
...
...
end;

 

Link to comment
Share on other sites

On 10/13/2020 at 4:14 PM, x11 said:

set EDT_login to unimEdit1.LayoutConfig.Cls property

put your css code in file program.exe\files\css\custommob.css

and then load css-file in mainmodule:

 


procedure TUniMainModule.LoadScriptCSS;
begin
  if upMobile in UniMainModule.UniPlatforms then
    UniSession.AddJS('Ext.Loader.loadScript("/files/css/custommob.css")');


//if upDesktop in UniMainModule.UniPlatforms then
//    UniSession.AddJS('Ext.Loader.loadScript("/files/css/custom.css")');
end;


// BeforeLogin or in MainModuleCreate
procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean);
begin
  LoadScriptCSS;
...
...
end;

 

My code is error;

The unimEdit's border is still exist;

Could you tell me How to Remove the Left、Top and Right border?

 

Link to comment
Share on other sites

×
×
  • Create New...