Search the Community
Showing results for tags 'unimForm'.
-
I am using latest version. This may be a know issue, I used the CustomCSS to change the TITLE HEIGHT. You can see near the top, i have x.-toolbar .-title and changed the size to 36pt. But yet when i run inside chrome on my laptop with the /M it shows with the nice LARGER font. BUT when I run it inside chrome on my cellphone, it remains SMALL font. You can see this from my 2 screenshots. .x-checkboxfield .x-input-el { opacity: 10; } .x-toolbar .x-title { font-weight: bold; font-size: 36pt;} .customGlyph32 .x-icon-el { width: 32px !important; height: 32px !important; } .customGlyph24 .x-icon-el { width: 24px !important; height: 24px !important; } .CustomAlignMobile .x-inner-el { line-height: normal; padding-top: 0 !important; } .x-mask-msg div{ font-family: Ubuntu, Arial, sans-serif; font-size: 24px; } .MyTitle .x-panel-header-default-horizontal { height: 11px; padding: 0px 10px 0px 10px; } .x-grid-row-selected .x-grid-cell-inner { font-weight: bold; color: rgb(255,0,0); background-color:green; } .myStyle1 { background-color: rgb(0,255,255) !important; border-radius: 25px 25px 25px 25px; -moz-border-radius: 25px 25px 25px 25px; -webkit-border-radius: 25px 25px 25px 25px; color: rgb(0,0,255); border: 1px solid #1a26d4; } .DBG1 .x-grid-row-selected .x-grid-cell-inner { background-color:green!important; } .DBG2 .x-grid-item-selected .x-grid-cell { font-weight: bold!important; background-color:blue!important; } .x-grid-row-selected2 .x-grid-cell-inner { font-weight: bold!important; background-color:green!important; } .addGreenPanel .x-panel-body-default { background: rgb(0,128,0); } .addLightGreenPanel .x-panel-body-default { background: rgb(161, 239, 161); } .addRedPanel .x-panel-body-default { background: rgb(240,96,96); } .addLightRedPanel .x-panel-body-default { background: rgb(240,180,180); } .addYellowishDarkerBG .x-form-text{ background-color: rgb(208,208,128)!important; background-image: none; } .addYellowishDarkerBG_2{ background-color: rgb(208,208,128)!important; background-image: none; } .addYellowishBG .x-form-text { background-color: rgb(252,252,176)!important; background-image: none; } .addYellowishBG_2{ background-color: rgb(252,252,176)!important; background-image: none; } .addYellowBG .x-form-text{ background-color: yellow!important; background-image: none; } .addYellowBG_2{ background-color: yellow!important; background-image: none; } .addRedBG .x-form-text { background-color: rgb(255,200,200)!important; background-image: none; } .addRedBG_2{ background-color: rgb(255,200,200)!important; background-image: none; } .addFFFFFFBG{ background-color: rgb(255,255,255)!important; background-image: none; } .addE8E8E8BG{ background-color: rgb(232,232,232)!important; background-image: none; } .add000000Font{ color: rgb(0,0,0)!important; background-image: none; } .addBlackForceFont{ color: rgb(0,0,0)!important; background-image: none; } .addGrayForceFont{ color: rgb(0,0,0)!important; background-image: none; } .add606060Font{ color: rgb(96,96,96)!important; background-image: none; } .addBlackFont{ color: rgb(0,0,0)!important; background-image: none; } .MyStyleW .x-form-text{ color:red!important; height:8px; font-size: 24px; background-color:yellow!important; background-image:none; } .QQQQQQQMyStyleW{ color:red!important; height:8px; font-size: 24px; background-color:yellow!important; background-image:none; } I find it odd that the desktop chrome displayed the title nice and big, while the mobile chrome displayed the title tiny. Davie Screenshot_Chrome_Mobile.bmp Screenshot_Chrome_Desktop.bmp
-
Hi The font of the UnimForm components can be changed to Persian language fonts. But I put the font of the caption of the UnimForm, from the same font that I use in the components, but it does not change. Is it possible to change the caption font in UnimForm? Regards.
-
Hi, I'd like to call from a UniMobileApplication a UnimForm inserted in a DLL but, when I call it, I receive this error message: "Form Owner must be UniApplication" Someone can help me? Thanks. Example ***************************************** ** MyMobileApplication.exe ***************************************** program ApplicationServer; uses Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Mainm in 'Mainm.pas' {MainmForm: TUnimForm}, {$R *.res} begin ReportMemoryLeaksOnShutdown := True; Application.Initialize; TUniServerModule.Create(Application); Application.Run; end. unit Mainm; type TMainmForm = class(TUnimForm) UnimBitBtn1: TUnimBitBtn; private { Private declarations } public { Public declarations } end; function my_external_form ( UniApplication: TUniGUIApplication ): TUnimForm; StdCall ; external "c:\temp\my_dll.dll" ; implementation .. .. .. procedure TMainmForm.UnimBitBtn1Click(Sender: TObject); begin result := my_externat_form ( UniApplication ) ; end; ******************************* ** c:\temp\my_dll.dll ** ******************************* library My_dll; uses Mobile_form in 'Mobile_form.pas' {UnimForm1: TUnimForm}; {$R *.res} exports my_external_form ; begin end. ************************************ unit Mobile_form; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, uniGUIServer, uniGUIMainModule, uniGUIApplication, uIdCustomHTTPServer, uniGUITypes, Controls, uniGUIAbstractClasses, uniGUIClasses, uniGUImClasses, uniGUIForm, uniGUImForm, uniGUImJSForm ; type TUnimForm1 = class(TUnimForm) private { Private declarations } public { Public declarations } end; Var MyUniApplication :TUniGUIApplication ; function my_external_form ( UniApplication :TUniGUIApplication ) :TUnimForm ; stdCall ; function UnimForm1: TUnimForm1; implementation {$R *.dfm} function my_external_form( UniApplication :TUniGUIApplication ):TUnimForm ; Begin MyUniApplication := UniApplication ; Result := UnimForm1 ; End; function UnimForm1: TUnimForm1; begin Result := TUnimForm1 ( MyUniApplication.UniMainModule.GetFormInstance ( TUnimForm1 ) ); end; end.