The image:
shows a snippet of a dashboard from oracle apex. In the image you can see a 6 boxes and grey cards (the circles in each box at the top right corner) which contain a number inside of them. There is a way to conditionally change the color of the grey circle through sql as the circle is defined as a card. That means I can operate with the help of this link https://apex.oracle.com/pls/apex/apex_pm/r/ut/color-and-status-modifiers.
My question is, if there is way to conditionally change the color of each box instead of the round card. I want to do that because there is no correlation between the color of the card and the number inside of it.
An alternative would be to change the color of the text (which I had to censor) either next to the circle or in the subbox.
Related
I have the following problem: How to write javascript code, when I move the cursor on the first third of the display, to change the background color. When it's the second or third part of the display, to change the background color.
I need three different colors regarding the position of the cursor.
I am trying to implement like word cloud in my app.
The image shown is like word cloud with left alignment.
What I did was, for placing the buttons I am checking whether the width of the text is greater than total width of the screen, if it is greater place the button in next row i.e increment the y position, if it is not just place the buttons. Everything is working fine. But what I want now is , i want to move the buttons alignment, like, I want to start the first button from center of the screen. Please help me to do this...
I'm using vb.net to make a screen saver.
I want my label where the text shows to always be centered no matter what screen size it is.
is there a way to get the screen resolution of the current monitor?
if i can get that then i can calculate the middle and set my label there.
Stretch the label to the whole width of the form and dock/anchor to left and right side within the label parameters. This will center your label whatever the size of the form.
I'm trying to create a live tile for my application, using a user control.
The user control contains a grid, an image and a rectangle filled with color.
Now here comes the funny part.
I want the rectangle to act as a background for the tile's title, and the image to fill the rest of the tile. And i said to myself, well, lets put some rows in that grid and set the like you usually set them in a WPF/SL application.
I then write the entire thing in a WBM and save it to isostore.
The problem is, the parser seems to ignore the presence of grid's rows. regardless of what I try, the rectangle is not shown, and the image covers the full tile, when it should only cover the first row. It is as if the grid didn't even existed.
Another funny aspect is that it doesn't matter if I use rows or columns, the result is the same.
Any ideas?
Are you using the following method?
Dynamic LiveTile - adding background image?
I recently implemented a Live Tile using a Grid with Rows and Columns for layout of some TextBlocks. I encountered similar challenges, so I placed the control that I was using for my Live Tile on a blank page in my app to better see what was happening. Does the control render correctly when displayed on a page (versus being rendered to a WriteableBitmap)?
Another idea. Instead of trying to position the Rectangle relative to the tile's Title, why not leave the Title property blank and put the same text in a TextBlock within the user control?
If you are careful about the font and positioning of the TextBlock, the text on the resulting background image can appear indistinguishable from text displayed from the Title property. I decided to follow this strategy myself. I found the font information in the following answer:
Font size and family for a tile's title
Otherwise, could you post an example of the XAML you are using?
I'm trying to display a white square in the upper part of a form but I have not the slightest idea how.
Like This:
Do this:
Drag a Panel control onto your form from the Containers section in your designer toolbox
Set the Dock property to Top
Resize it so it's as high as you want it
Set the backgorund color property to White
This is just one of a number of different ways that this can be accomplished. What do you plan on doing with this white area of the form?