• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Change Color Character List.

CabritenhO

New Member
Joined
Apr 28, 2011
Messages
39
Reaction score
0
Location
Rio de Janeiro - Brazil
otclient.png



Someone know how i can change that color?
 
This is a character list. It's inside client_entergame module.
Then you open characterlist.otui, the file that contains all styles.
Take a look at it, then you'll find out that this part is a TextList.

Code:
TextList
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.right: characterListScrollBar.left
    anchors.bottom: accountStatusCaption.top
    margin-bottom: 5
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first

Then go to data/styles/10-listboxes.otui

Code:
TextList < UIScrollArea
  layout: verticalBox
  border-width: 1
  border-color: #1d222b
  background-color: #222833
  padding: 1
  auto-focus: none

Then you decide, if you want to change all TextList or just this one.
Just edit or add the background-color property in the desired place.
 
Back
Top