Sandman Expert Licensed User Longtime User Sep 26, 2018 #1 This is a follow-up to this Wish: Add theme setting for "Current Line Outline" https://www.b4x.com/android/forum/threads/add-theme-setting-for-current-line-outline.94825/ Erel said: It is done with a new BorderColor attribute Click to expand... I'm unable to get it working. Has anyone figured it out? I tried looking at the available themes also, but none seemed to have the attribute added. Here's what I've tried to add to my custom theme, without any visual change at all: B4X: <Item Name="Border Color" Foreground="0x0000FFFF" Background="0x0000FFFF" BoldFont="No"/> <Item Name="BorderColor" Foreground="0x00FF00FF" Background="0x00FFFF00" BoldFont="No"/> <Item Name="Border" Foreground="0x00FFFF00" Background="0x00FF00FF" BoldFont="No"/> (I have restarted the IDE so that's not the problem.)
This is a follow-up to this Wish: Add theme setting for "Current Line Outline" https://www.b4x.com/android/forum/threads/add-theme-setting-for-current-line-outline.94825/ Erel said: It is done with a new BorderColor attribute Click to expand... I'm unable to get it working. Has anyone figured it out? I tried looking at the available themes also, but none seemed to have the attribute added. Here's what I've tried to add to my custom theme, without any visual change at all: B4X: <Item Name="Border Color" Foreground="0x0000FFFF" Background="0x0000FFFF" BoldFont="No"/> <Item Name="BorderColor" Foreground="0x00FF00FF" Background="0x00FFFF00" BoldFont="No"/> <Item Name="Border" Foreground="0x00FFFF00" Background="0x00FF00FF" BoldFont="No"/> (I have restarted the IDE so that's not the problem.)
DonManfred Expert Licensed User Longtime User Sep 26, 2018 #2 Sandman said: I'm unable to get it working Click to expand... The Color does only appear in the IDE. NOT in the App you are creating. No need to change the App Theme at all... Upvote 0
Sandman said: I'm unable to get it working Click to expand... The Color does only appear in the IDE. NOT in the App you are creating. No need to change the App Theme at all...
Sandman Expert Licensed User Longtime User Sep 26, 2018 #3 DonManfred said: The Color does only appear in the IDE. NOT in the App you are creating. Click to expand... That is correct, nobody has said otherwise. DonManfred said: No need to change the App Theme at all... Click to expand... Perhaps you didn't read the Wish I linked to? Please do, it gives some context to this thread. Upvote 0
DonManfred said: The Color does only appear in the IDE. NOT in the App you are creating. Click to expand... That is correct, nobody has said otherwise. DonManfred said: No need to change the App Theme at all... Click to expand... Perhaps you didn't read the Wish I linked to? Please do, it gives some context to this thread.
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2018 #4 No need to restart the IDE. It is an attribute so you need to set it like this: <Item Name="Current Line" Foreground="0x02000000" Background="0x02000000" BoldFont="No" BorderColor="0x000000FF"/> Upvote 0
No need to restart the IDE. It is an attribute so you need to set it like this: <Item Name="Current Line" Foreground="0x02000000" Background="0x02000000" BoldFont="No" BorderColor="0x000000FF"/>
Sandman Expert Licensed User Longtime User Sep 26, 2018 #5 That worked perfectly, thanks. Erel said: No need to restart the IDE. Click to expand... Yep, I know. I just wanted to eliminate all suggestions for restarting the IDE. Upvote 0
That worked perfectly, thanks. Erel said: No need to restart the IDE. Click to expand... Yep, I know. I just wanted to eliminate all suggestions for restarting the IDE.