Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. view box make everything big!!!

view box make everything big!!!

Scheduled Pinned Locked Moved WCF and WF
csswpfcomquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cppwxwidgetsss
    wrote on last edited by
    #1

    I have designed a grid to have a clock it is designed rather carefully, to have the capability to resize but now that i added my Viewbox to the grid the whole clock become larg what is wrong with that just take a look please <Window x:Class="GridResizeFontChange.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300"> <Grid TextBlock.FontSize="10"> <!--<Viewbox Stretch="Fill" MaxHeight="200" MaxWidth="200" HorizontalAlignment="Center" VerticalAlignment="Center">--> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="13*"/> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="37*"/> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="50*"/> <ColumnDefinition Width="auto" /> <ColumnDefinition Width="50*"/> <ColumnDefinition Width="auto" /> <ColumnDefinition Width="37*" /> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="13*"/> <ColumnDefinition Width="auto" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="auto"/> <RowDefinition Height="13*"/> <RowDefinition Height="auto" /> <RowDefinition Height="37*"/> <RowDefinition Height="auto" /> <RowDefinition Height="50*"/> <RowDefinition Height="auto" /> <RowDefinition Height="50*"/> <RowDefinition Height="auto" /> <RowDefinition Height="37*"/> <RowDefinition Height="auto" /> <RowDefinition Height="13*" /> <RowDefinition Height="auto" /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="6" >12</TextBlock> <TextBlock Grid.Row="2" Grid.Column="4" >11</TextBlock> <TextBlock Grid.Row="4" Grid.Column="2">10</TextBlock> <TextBlock Grid.Row="6" Gr

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups