Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

SearchPaneSize Plugin help

55000492KR gravatar image
Question by kingsleyxlam  (1) | Sep 23 at 02:11 PM icnplugincontent-navigator

Is anyone able to give me an in-depth tutorial on how to create a plug-in that increases the default size of the search folder viewer, so that it shows the entire file name when the user logs in? First screenshot is what is it, second screenshot is what i want it to be. alt textalt text

default.png (63.1 kB)
revised.png (98.6 kB)

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
31000077N4 gravatar image

Answer by HongLin Guo (867) | Sep 24 at 01:41 AM

the width is set in Layout.css, you could overwrite it in your plugin

 .ecmCenterPane .leadingPane,
 .ecmCenterPane .paneNoOverflow,
 .ecmCenterPane .docInfoPane {
     **width: 190px;**
     margin: 0;
 }
Comment
Ariks

People who like this

  1   Show 7   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
55000492KR gravatar image kingsleyxlam (1)   Sep 24 at 09:46 AM 0
Share

Hey HongLin Gao, I'm completely new tho this ICN thing and so i still don't know how to even make a plugin. Could you help me or give me some helpful links so i can give it a try.

Thank you

5023MS431X gravatar image Ariks (321) kingsleyxlam (1)   Sep 24 at 10:05 AM 0
Share

Dear kingsleyxlam, please read the IBM RedBook, you have a example step by step how to set IbmContentNavigator plugin creator to your eclipse environment,create new plugin, and how to load it to your ICN

http://www.redbooks.ibm.com/redbooks/pdfs/sg248055.pdf

55000492KR gravatar image kingsleyxlam (1) Ariks (321)   Sep 24 at 02:32 PM 0
Share

Thank you Ariks

55000492KR gravatar image kingsleyxlam (1)   Sep 24 at 02:32 PM 0
Share

Sorry one more question. Why is a plugin required? is it bad style to just change the original Layout.css file?

31000077N4 gravatar image HongLin Guo (867) kingsleyxlam (1)   Sep 24 at 09:37 PM 0
Share

Sure, you could change it on original CSS file.

5023MS431X gravatar image Ariks (321) HongLin Guo (867)   Sep 25 at 01:14 AM 0
Share

Dear HongLin Guo , I just try it because some curiosity and it work, Can you tell me please if there is some method to find specific element CSS involved classes, as you did in this case? (if i press inspect element debugger mode i just get the main CSS class with few prop)

Show more comments

Follow this question

203 people are following this question.

Answers

Answers & comments

Related questions

ICN Plugin to limit results in browsepane 1 Answer

Open specific folder in folder tree (IBM Content Navigator) 1 Answer

Call Action Plugin from URL 1 Answer

Can I use JNDI in a Content Navigator plugin? 0 Answers

Minimum plugin code to extend an existing Content Navigator viewer 6 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges