Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Item look (Read 24 times)
Raeees
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 19
Joined: Dec 11th, 2024
Item look
Yesterday at 6:36pm
Print Post  
Hi,
using ResourceView, items come with a default look i can work with, inlcuding the gray bar on top (image inserted below). i can change its color using this line below but i would like to know how i disable it completly, like remove it from the item.
Code (Java)
Select All
calendar.getItemSettings().getStyle().setFillColor(Color.RED); 



I would also like to know if its possible to disable Item selectedStyle. i wish to select items in the calendar but not modify their style.

Cordially
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3357
Joined: Oct 19th, 2005
Re: Item look
Reply #1 - Today at 7:13am
Print Post  
Hi,

Try this:

Code
Select All
ItemSettings itemSettings = calendar.getItemSettings();
itemSettings.setMoveBandSize(0);
itemSettings.setSelectedItemStyle(
    itemSettings.getStyle()); 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Raeees
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 19
Joined: Dec 11th, 2024
Re: Item look
Reply #2 - Today at 1:12pm
Print Post  
That did the job, thank you very much Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint