Recent

Author Topic: Enlarge _drawableLogoIdentifier of the jsNavigationView. (SOLVED)  (Read 707 times)

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Can i enlarge the image/logo ( _drawableLogoIdentifier ) of the jsNavigationView and chose the font size?

jsNavigationView1.AddHeaderView(colbrGold, 'ic_logo', 'iSoft Sistemas', 180);
« Last Edit: December 07, 2019, 01:52:22 pm by Almir Lima »
Today better than yesterday.

jmpessoa

  • Hero Member
  • *****
  • Posts: 1608
Re: Enlarge _drawableLogoIdentifier of the jsNavigationView.
« Reply #1 on: December 07, 2019, 05:27:39 am »

Hi, Almir!

Please, update your LAMW from GitHub.....

Now you can try:


Code: Pascal  [Select][+][-]
  1.   jsNavigationView1.SetTitleTextSize(20);
  2.   jsNavigationView1.SetTitleSizeDecorated(sdDecreasing);  //default = none
  3.   jsNavigationView1.SetTitleSizeDecoratedGap(4); //default = 3
  4.   jsNavigationView1.SetLogoPosition(rpCenterHorizontal); //default = rpCenterInParent
  5.  
  6. //jBitmap1.ImageIdentifier:= 'ic_cervantes';  //seted in design time (object inspector)
  7.  
  8.   jsNavigationView1.AddHeaderView('bg_material',jBitmap1.GetResizedBitmap(1.1, 1.1), 'Miguel de Cervantes|Lamw 0.8', 240);
  9.  
  10.  

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018